From c8243dca6c1e51c5b258b6564d4dd4cc6a9d6a6d Mon Sep 17 00:00:00 2001 From: corentinberge <33965571+corentinberge@users.noreply.github.com> Date: Mon, 12 Aug 2019 13:09:04 +0200 Subject: [PATCH] Update logger.cpp Made a bug when I was added line, I delete the bug --- src/debug/logger.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/debug/logger.cpp b/src/debug/logger.cpp index 52e6cd1..b4c2fc3 100644 --- a/src/debug/logger.cpp +++ b/src/debug/logger.cpp @@ -64,9 +64,8 @@ namespace dynamicgraph // if print is allowed by current verbosity level if( isStreamMsg(type)) { - int l = line; // 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); if(it == m_stream_msg_counters.end()) { -- GitLab