From 1d614f2e5b7be3e9011d4de5174619deb1641bb5 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Thu, 24 Dec 2015 10:21:48 +0300 Subject: [PATCH] Use arrow as in surrounding code --- lib/preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index 78234553c..752e57b8c 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -1598,7 +1598,7 @@ void Preprocessor::simplifyCondition(const std::map &c if (Token::Match(tokenizer.tokens(), "( %name% )")) { std::map::const_iterator var = cfg.find(tokenizer.tokens()->strAt(1)); if (var != cfg.end()) { - const std::string &value = (*var).second; + const std::string &value = var->second; condition = (value == "0") ? "0" : "1"; } else if (match) condition = "0";