summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-12 19:16:55 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-12 19:16:55 +0200
commit385241d2c07b6e97c7bd25b4d31a9845a1c74154 (patch)
tree5ee85dd079fb374f9e318675370d74dfda96c84e /src/string.hh
parentb6d21514e4217ee811682338e4ccf4fab5477cd6 (diff)
remove String::replace, use boost::regex_replace directly
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.hh b/src/string.hh
index 046544ed..edfafd02 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -56,7 +56,7 @@ public:
auto e = utf8::advance(b, end(), (int)length);
return String(b,e);
}
- String replace(const String& expression, const String& replacement) const;
+ String replace(const Regex& expression, const String& replacement) const;
};
inline String operator+(const char* lhs, const String& rhs)