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:
parent
7a07f9343f
commit
4c30ab0b88
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue