summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/string.hh b/src/string.hh
index 573853fe..e31a3173 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -6,13 +6,12 @@
#include "utf8.hh"
#include <string>
-#include <boost/regex.hpp>
+#include <climits>
+#include <cstring>
namespace Kakoune
{
-using Regex = boost::regex;
-
class StringView;
class String : public std::string
@@ -288,9 +287,6 @@ inline String codepoint_to_str(Codepoint cp)
return String(str);
}
-String option_to_string(const Regex& re);
-void option_from_string(StringView str, Regex& re);
-
int str_to_int(StringView str);
String to_string(int val);