moved compatibility stuff into compat.h

This commit is contained in:
badaix 2016-01-02 12:50:17 +01:00
parent dd6941b08f
commit d0a22c0d3c
2 changed files with 46 additions and 16 deletions

View file

@ -159,22 +159,6 @@ static std::string getMacAddress(int sock)
}
namespace utl
{
template<typename T>
static std::string to_string(const T& t)
{
std::stringstream ss;
ss << t;
return ss.str();
}
static long stoul(const std::string& s)
{
return atol(s.c_str());
}
}
#endif