Fixed compiler warning.

This commit is contained in:
Joerg Henrichs 2014-01-15 11:49:37 +11:00
parent 0adddd4401
commit 949877b826

View File

@ -75,7 +75,8 @@ namespace StringUtils
// ------------------------------------------------------------------------
/** Specialisiation for bools to return 'true' or 'false'/
*/
static std::string toString(bool b)
template<bool>
std::string toString(bool &b)
{
return (b ? "true" : "false");
} // toString(bool)