Changeset 10918 for code/branches/cpp11_v2/src/libraries/network
- Timestamp:
- Dec 5, 2015, 7:10:56 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/network
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/network/FunctionCall.cc
r10916 r10918 119 119 for( unsigned int i=0; i<this->nrOfArguments_; ++i ) 120 120 { 121 this->arguments_. push_back(MultiType());121 this->arguments_.emplace_back(); 122 122 this->arguments_.back().importData(mem); 123 123 } -
code/branches/cpp11_v2/src/libraries/network/FunctionCallManager.cc
r10769 r10918 65 65 void FunctionCallManager::bufferIncomingFunctionCall(const orxonox::FunctionCall& fctCall, uint32_t minGamestateID, uint32_t peerID) 66 66 { 67 FunctionCallManager::sIncomingFunctionCallBuffer_. push_back( std::make_pair(fctCall, std::make_pair(minGamestateID, peerID)));67 FunctionCallManager::sIncomingFunctionCallBuffer_.emplace_back(fctCall, std::make_pair(minGamestateID, peerID)); 68 68 } 69 69 -
code/branches/cpp11_v2/src/libraries/network/packet/Gamestate.cc
r10768 r10918 133 133 tempsize = it->getData(mem, this->sizes_, id, mode); 134 134 if ( tempsize != 0 ) 135 dataVector_. push_back( obj(it->getObjectID(), it->getContextID(), tempsize, mem-data_));135 dataVector_.emplace_back(it->getObjectID(), it->getContextID(), tempsize, mem-data_); 136 136 137 137 #ifndef NDEBUG
Note: See TracChangeset
for help on using the changeset viewer.