Revert "Fix string conversions in PlaceholderParser"
This reverts commit 570cc6e167
.
Not an improvement
This commit is contained in:
parent
606789130e
commit
3a48f36268
@ -270,9 +270,9 @@ namespace client
|
||||
{
|
||||
std::string out;
|
||||
switch (type) {
|
||||
case TYPE_BOOL: out = boost::lexical_cast<std::string>(data.b); break;
|
||||
case TYPE_INT: out = boost::lexical_cast<std::string>(data.i); break;
|
||||
case TYPE_DOUBLE: out = boost::lexical_cast<std::string>(data.d); break;
|
||||
case TYPE_BOOL: out = std::to_string(data.b); break;
|
||||
case TYPE_INT: out = std::to_string(data.i); break;
|
||||
case TYPE_DOUBLE: out = std::to_string(data.d); break;
|
||||
case TYPE_STRING: out = *data.s; break;
|
||||
default: break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user