C++ Builder : Fixed compiler error

This commit is contained in:
Daniel Marjamäki 2011-12-08 22:24:09 +01:00
parent b383bae4ab
commit 8ca8887849
1 changed files with 1 additions and 1 deletions

View File

@ -8132,7 +8132,7 @@ void Tokenizer::simplifyEnum()
}
if (enumType) {
const std::string pattern(className.empty() ? std::string("") : (className + " :: " + enumType->str()));
const std::string pattern(className.empty() ? "" : (className + " :: " + enumType->str()).c_str());
// count { and } for tok2
int level = 0;