summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
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);