Unverified Commit c8243dca authored by corentinberge's avatar corentinberge Committed by GitHub
Browse files

Update logger.cpp

Made a bug when I was added line, I delete the bug
parent 77b25682
...@@ -64,9 +64,8 @@ namespace dynamicgraph ...@@ -64,9 +64,8 @@ namespace dynamicgraph
// if print is allowed by current verbosity level // if print is allowed by current verbosity level
if( isStreamMsg(type)) if( isStreamMsg(type))
{ {
int l = line;
// check whether counter already exists // check whether counter already exists
string id = file+/*toString(line)*/+ l; string id = file+toString(line);
map<string,double>::iterator it = m_stream_msg_counters.find(id); map<string,double>::iterator it = m_stream_msg_counters.find(id);
if(it == m_stream_msg_counters.end()) if(it == m_stream_msg_counters.end())
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment