map handel change

This commit is contained in:
vivek-shankar 2017-01-26 21:50:50 -05:00
parent 118f5ebc46
commit 469dab1ed3
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics()
} }
else{ else{
std::cout << "Multi packet message" << std::endl; std::cout << "Multi packet message" << std::endl;
if (multi_msgs.size()==0 ){ if (multi_msgs.empty()){
std::cout << "first message" << std::endl; std::cout << "first message" << std::endl;
multi_msgs.insert(make_pair(header[2], in_message)); multi_msgs.insert(make_pair(header[2], in_message));
cur_checksum=header[1]; cur_checksum=header[1];