summaryrefslogtreecommitdiff
path: root/src/assert.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-10-17 17:01:08 +0200
committerMaxime Coste <frrrwww@gmail.com>2012-10-17 17:01:08 +0200
commitc1387dc5920baf8f0f539a3ef490e0c6fcfb5e2d (patch)
treea81660ab3fa1195f7fc5f3b40e6f5450b267ad76 /src/assert.hh
parent4aa3a3610279082969e4c2eb0196ddddd025557a (diff)
assert: simplify header
Diffstat (limited to 'src/assert.hh')
-rw-r--r--src/assert.hh13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/assert.hh b/src/assert.hh
index 0ec5db90..182b58a4 100644
--- a/src/assert.hh
+++ b/src/assert.hh
@@ -1,21 +1,10 @@
#ifndef assert_hh_INCLUDED
#define assert_hh_INCLUDED
-#include "exception.hh"
-
namespace Kakoune
{
-struct assert_failed : logic_error
-{
- assert_failed(const String& message);
- String description() const override;
-
-private:
- String m_message;
-};
-
-void on_assert_failed(const String& message);
+void on_assert_failed(const char* message);
}