summaryrefslogtreecommitdiff
path: root/src/utils.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-09-26 00:41:50 +0100
committerMaxime Coste <frrrwww@gmail.com>2014-09-26 00:41:50 +0100
commit092ac8e9abc8c5f635b72e5d71ce1638648be023 (patch)
tree6d9243e7e89ed5d7bd39a7ee37cd9f5efdfcde16 /src/utils.hh
parentba3c18e674ef6440bd9b43a73c87596272c755e5 (diff)
Remove unused function
Diffstat (limited to 'src/utils.hh')
-rw-r--r--src/utils.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/utils.hh b/src/utils.hh
index e4d1bd08..e999f405 100644
--- a/src/utils.hh
+++ b/src/utils.hh
@@ -157,12 +157,6 @@ bool operator== (const std::unique_ptr<T>& lhs, T* 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>
const T& clamp(const T& val, const T& min, const T& max)
{