From 2214421df51458660318946617e8a7c107ae2b60 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 29 Feb 2016 22:15:36 +0000 Subject: Use a StringView in notify_fatal_error --- src/assert.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/assert.hh') 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); -- cgit v1.2.3