Token::stringifyList(): removed const modifier from parameter.

const useless in this case because argument passed by value.

No functional change.
This commit is contained in:
Slava Semushin 2009-09-19 14:16:01 +07:00
parent 7a07f9343f
commit 4c30ab0b88
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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