mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
vcmi: reduce boost::lexical_cast usage
This commit is contained in:
@@ -135,9 +135,9 @@ public:
|
||||
|
||||
std::string toString() const
|
||||
{
|
||||
return "(" + boost::lexical_cast<std::string>(x) +
|
||||
" " + boost::lexical_cast<std::string>(y) +
|
||||
" " + boost::lexical_cast<std::string>(z) + ")";
|
||||
return "(" + std::to_string(x) +
|
||||
" " + std::to_string(y) +
|
||||
" " + std::to_string(z) + ")";
|
||||
}
|
||||
|
||||
bool valid() const
|
||||
|
||||
Reference in New Issue
Block a user