Changeset 2749 for code/branches/network/src/core/Factory.cc
- Timestamp:
- Mar 5, 2009, 1:54:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/Factory.cc
r2662 r2749 87 87 void Factory::changeNetworkID(Identifier* identifier, const uint32_t oldID, const uint32_t newID) 88 88 { 89 getFactoryPointer()->identifierNetworkIDMap_.erase(oldID);89 // getFactoryPointer()->identifierNetworkIDMap_.erase(oldID); 90 90 getFactoryPointer()->identifierNetworkIDMap_[newID] = identifier; 91 91 //std::cout << identifier->getName() << ": " << oldID << " -> " << newID << std::endl; 92 } 93 94 /** 95 @brief Cleans the NetworkID map (needed on clients for correct initialization) 96 */ 97 void Factory::cleanNetworkIDs() 98 { 99 getFactoryPointer()->identifierNetworkIDMap_.clear(); 92 100 } 93 101
Note: See TracChangeset
for help on using the changeset viewer.