Use arrow as in surrounding code

This commit is contained in:
Dmitry-Me 2015-12-24 10:21:48 +03:00
parent cc987d8ff5
commit 1d614f2e5b
1 changed files with 1 additions and 1 deletions

View File

@ -1598,7 +1598,7 @@ void Preprocessor::simplifyCondition(const std::map<std::string, std::string> &c
if (Token::Match(tokenizer.tokens(), "( %name% )")) {
std::map<std::string,std::string>::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";