Borland C++: Fixed compiler error

This commit is contained in:
Daniel Marjamäki 2011-02-18 20:21:48 +01:00
parent 9a760b9654
commit f363bc1560
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/*
/*
* Cppcheck - A tool for static C/C++ code analysis
* Copyright (C) 2007-2011 Daniel Marjamäki and Cppcheck team.
*
@ -7687,9 +7687,9 @@ void Tokenizer::simplifyEnum()
// find all uses of this enumerator and substitute it's value for it's name
if (enumName && (enumValue || (enumValueStart && enumValueEnd)))
{
const std::string pattern(className.empty() ?
const std::string pattern = className.empty() ?
std::string("") :
(className + " :: " + enumName->str()));
std::string(className + " :: " + enumName->str());
int level = 1;
bool inScope = true;