Remove unused function

This commit is contained in:
Maxime Coste 2014-09-26 00:41:50 +01:00
parent ba3c18e674
commit 092ac8e9ab

View File

@ -157,12 +157,6 @@ bool operator== (const std::unique_ptr<T>& lhs, T* rhs)
return lhs.get() == rhs; return lhs.get() == rhs;
} }
inline String escape(const String& name)
{
static Regex ex{"([ \\t;])"};
return boost::regex_replace(name, ex, R"(\\\1)");
}
template<typename T> template<typename T>
const T& clamp(const T& val, const T& min, const T& max) const T& clamp(const T& val, const T& min, const T& max)
{ {