Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 31, 2015, 11:54:06 AM (9 years ago)
Author:
landauf
Message:

StaticallyInitializedInstances are now responsible to delete the wrapped object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/command/ConsoleCommandManager.cc

    r10484 r10520  
    191191        }
    192192    }
    193 
    194     /**
    195         @brief Deletes all commands
    196     */
    197     void ConsoleCommandManager::destroyAll()
    198     {
    199         // delete entries until the map is empty
    200         while (!this->commandMap_.empty() && !this->commandMap_.begin()->second.empty())
    201             delete this->commandMap_.begin()->second.begin()->second;
    202     }
    203193}
Note: See TracChangeset for help on using the changeset viewer.