Fix compilation error with MSVC 2013 after a7b82b5
.
This commit is contained in:
parent
a5a835b1e0
commit
8fc4456fb4
|
@ -132,7 +132,7 @@ void TokenList::addtoken(const std::string & str, const unsigned int lineno, con
|
||||||
std::string str2;
|
std::string str2;
|
||||||
if (MathLib::isHex(str) || MathLib::isOct(str) || MathLib::isBin(str)) {
|
if (MathLib::isHex(str) || MathLib::isOct(str) || MathLib::isBin(str)) {
|
||||||
std::ostringstream str2stream;
|
std::ostringstream str2stream;
|
||||||
str2stream << MathLib::MathLib::toULongNumber(str);
|
str2stream << MathLib::toULongNumber(str);
|
||||||
str2 = str2stream.str();
|
str2 = str2stream.str();
|
||||||
} else if (str.compare(0, 5, "_Bool") == 0) {
|
} else if (str.compare(0, 5, "_Bool") == 0) {
|
||||||
str2 = "bool";
|
str2 = "bool";
|
||||||
|
|
Loading…
Reference in New Issue