mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
vcmi: reduce boost::lexical_cast usage
This commit is contained in:
@ -1177,7 +1177,7 @@ namespace Validation
|
||||
if (path.getType() == JsonNode::JsonType::DATA_STRING)
|
||||
errors += path.String();
|
||||
else
|
||||
errors += boost::lexical_cast<std::string>(static_cast<unsigned>(path.Float()));
|
||||
errors += std::to_string(static_cast<unsigned>(path.Float()));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user