resume unordered_map data structure
diff --git a/model/sync-app-data-publish.cc b/model/sync-app-data-publish.cc
index adef5e3..43f6b54 100644
--- a/model/sync-app-data-publish.cc
+++ b/model/sync-app-data-publish.cc
@@ -71,10 +71,10 @@
s.seq = seq + 1;
m_sequenceLog[name] = s;
- // unordered_map<pair<string, uint32_t>, string>::iterator it = m_recentData.find(make_pair(name, session));
- // if (it != m_recentData.end())
- // m_recentData.erase(it);
- // m_recentData.insert(make_pair(make_pair(name, session), dataBuffer));
+ unordered_map<pair<string, uint32_t>, string>::iterator it = m_recentData.find(make_pair(name, session));
+ if (it != m_recentData.end())
+ m_recentData.erase(it);
+ m_recentData.insert(make_pair(make_pair(name, session), dataBuffer));
return seq;
}