This commit is contained in:
vivek-shankar 2017-01-26 23:04:11 -05:00
parent 75c82e8dc5
commit 025d2a1588
1 changed files with 1 additions and 1 deletions

View File

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