diff --git a/src/token.cpp b/src/token.cpp index aca6069f2..7b6f98a4c 100644 --- a/src/token.cpp +++ b/src/token.cpp @@ -581,7 +581,7 @@ void Token::printOut(const char *title) const std::cout << stringifyList(true, title) << std::endl; } -std::string Token::stringifyList(const bool varid, const char *title) const +std::string Token::stringifyList(bool varid, const char *title) const { std::ostringstream ret; if (title) diff --git a/src/token.h b/src/token.h index d633e8080..c954aad27 100644 --- a/src/token.h +++ b/src/token.h @@ -230,7 +230,7 @@ public: static void replace(Token *replaceThis, Token *start, Token *end); /** Stringify a token list (with or without varId) */ - std::string stringifyList(const bool varid = true, const char *title = 0) const; + std::string stringifyList(bool varid = true, const char *title = 0) const; /** * This is intended to be used for the first token in the list