From 469dab1ed3e684e43720db41673a56312d63841b Mon Sep 17 00:00:00 2001 From: vivek-shankar Date: Thu, 26 Jan 2017 21:50:50 -0500 Subject: [PATCH] map handel change --- src/CommunicationManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommunicationManager.cpp b/src/CommunicationManager.cpp index 6dac774..2d4339a 100644 --- a/src/CommunicationManager.cpp +++ b/src/CommunicationManager.cpp @@ -385,7 +385,7 @@ inline void CommunicationManager::Check_In_Messages_and_Transfer_To_Topics() } else{ std::cout << "Multi packet message" << std::endl; - if (multi_msgs.size()==0 ){ + if (multi_msgs.empty()){ std::cout << "first message" << std::endl; multi_msgs.insert(make_pair(header[2], in_message)); cur_checksum=header[1];