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/class/IdentifierManager.cc

    r10519 r10520  
    277277        this->identifierByNetworkId_.clear();
    278278    }
    279 
    280     /**
    281         @brief Destroys all Identifiers. Called when exiting the program.
    282     */
    283     void IdentifierManager::destroyAllIdentifiers()
    284     {
    285         for (std::set<Identifier*>::iterator it = this->identifiers_.begin(); it != this->identifiers_.end(); ++it)
    286             delete (*it);
    287 
    288         this->identifiers_.clear();
    289         this->identifierByString_.clear();
    290         this->identifierByLowercaseString_.clear();
    291         this->identifierByNetworkId_.clear();
    292     }
    293279}
Note: See TracChangeset for help on using the changeset viewer.