forked from organicmaps/organicmaps
Revert "2x faster strings::to_string()"
This reverts commit 557640340785d2d61b82a83c685c6719be221df9.
This commit is contained in:
parent
c392d3b589
commit
f56792ef81
1 changed files with 4 additions and 2 deletions
|
@ -191,9 +191,11 @@ inline string to_string(char const * s)
|
|||
return s;
|
||||
}
|
||||
|
||||
template <typename T> inline string to_string(T t)
|
||||
template <typename T> string to_string(T t)
|
||||
{
|
||||
return std::to_string(t);
|
||||
ostringstream ss;
|
||||
ss << t;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
namespace impl
|
||||
|
|
Loading…
Add table
Reference in a new issue