Borland C++: Fixed compiler error
This commit is contained in:
parent
9a760b9654
commit
f363bc1560
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue