diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-09-26 00:41:50 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-09-26 00:41:50 +0100 |
| commit | 092ac8e9abc8c5f635b72e5d71ce1638648be023 (patch) | |
| tree | 6d9243e7e89ed5d7bd39a7ee37cd9f5efdfcde16 /src/utils.hh | |
| parent | ba3c18e674ef6440bd9b43a73c87596272c755e5 (diff) | |
Remove unused function
Diffstat (limited to 'src/utils.hh')
| -rw-r--r-- | src/utils.hh | 6 |
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) { |
