summaryrefslogtreecommitdiff
path: root/src/string.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-11-25 21:07:41 +0000
committerMaxime Coste <frrrwww@gmail.com>2015-11-25 21:07:41 +0000
commitec91ea17fe07827e73bb5527724e47b33f2a334e (patch)
tree2eb1884bf20b141e18b203f67b4f8365ed1bf795 /src/string.cc
parent3b5b781c5d10689d675e50889255438ce3e273a7 (diff)
Add a static const String::ms_empty empty string
Diffstat (limited to 'src/string.cc')
-rw-r--r--src/string.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string.cc b/src/string.cc
index 693cf7d5..9395a26e 100644
--- a/src/string.cc
+++ b/src/string.cc
@@ -10,6 +10,8 @@
namespace Kakoune
{
+const String String::ms_empty;
+
Vector<String> split(StringView str, char separator, char escape)
{
Vector<String> res;