summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-02-29 22:15:36 +0000
committerMaxime Coste <frrrwww@gmail.com>2016-02-29 22:15:36 +0000
commit2214421df51458660318946617e8a7c107ae2b60 (patch)
tree0a66bf7fd04371936f69ae76dcaefb4db08e42ec /src/assert.hh
parent92b56cbda0fdab6a3ff31a043c067145a8bcc723 (diff)
Use a StringView in notify_fatal_error
Diffstat (limited to 'src/assert.hh')
-rw-r--r--src/assert.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/assert.hh b/src/assert.hh
index f178e1ad..16501e4c 100644
--- a/src/assert.hh
+++ b/src/assert.hh
@@ -4,10 +4,10 @@
namespace Kakoune
{
-class String;
+class StringView;
// return true if user asked to ignore the error
-bool notify_fatal_error(const String& message);
+bool notify_fatal_error(StringView message);
void on_assert_failed(const char* message);