Finally fixed

This commit is contained in:
Mohamed Boussaffa
2016-03-04 23:06:26 +08:00
parent 7535b91e7e
commit 872c4649fa

View File

@@ -193,8 +193,7 @@ void NethogsMonitor::handleUpdate()
if( monitor_udpate_callback ) if( monitor_udpate_callback )
{ {
//notify update //notify update
NethogsAppUpdate &data = NethogsAppUpdate &data = monitor_update_data[pid];
monitor_update_data.insert(std::make_pair(pid, NethogsAppUpdate())).first->second;
bool data_change = false; bool data_change = false;