mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 10:42:04 +00:00
Fix build error on some platform
This commit is contained in:
5 files changed
+21
-23
No files matched your search
+4
-7
@@ -82,14 +82,11 @@ template <typename T> static inline void eraseElements(T &target)
|
||||
#ifndef HAVE_TO_STRING
|
||||
namespace std
|
||||
{
|
||||
namespace __cxx11
|
||||
template <typename T> std::string to_string(const T& n)
|
||||
{
|
||||
template <typename T> std::string to_string(const T& n)
|
||||
{
|
||||
std::ostringstream ss;
|
||||
ss << n;
|
||||
return ss.str();
|
||||
}
|
||||
std::ostringstream ss;
|
||||
ss << n;
|
||||
return ss.str();
|
||||
}
|
||||
}
|
||||
#endif // HAVE_TO_STRING
|
||||
|
||||
Reference in new issue
Block a user