From 256f01fd9d337488fbd569c6f565bbcf2e47ed29 Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 30 Dec 2015 14:57:01 +0100 Subject: [PATCH] Maybe a bit faster variable name search --- src/debug.cc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/debug.cc b/src/debug.cc index d67fe25..9a0b863 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -202,15 +202,11 @@ std::string Debug::get_value(const std::string &variable, const boost::filesyste } if(variable_value.empty()) { //In case a variable is missing file and line number, only do check on name - for(uint32_t value_index=0;value_index