Borland C++: Fixed compiler error

This commit is contained in:
Daniel Marjamäki 2009-11-28 08:55:51 +01:00
parent 0bdf63d864
commit 5ab8967632
1 changed files with 1 additions and 1 deletions

2
lib/tokenize.cpp Normal file → Executable file
View File

@ -408,7 +408,7 @@ void Tokenizer::simplifyTypedef()
}
}
const std::string pattern(className.empty() ? std::string("") : className + " :: " + typeName);
const std::string pattern(className.empty() ? "" : (className + " :: " + typeName).c_str());
int level = 0;
bool inScope = true;