summaryrefslogtreecommitdiff
path: root/src/exception.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2013-04-11 13:57:35 +0200
committerMaxime Coste <frrrwww@gmail.com>2013-04-11 13:57:35 +0200
commit35d0d5b2eaad64a703f14e507746424d331d1c27 (patch)
tree392a5be82d2ff5c92c51cfb143628566894bdc12 /src/exception.cc
parentc699172110ec0e097b933e9ec0ecb3f0083d3c01 (diff)
exceptions: use const char* what() instead of String description()
Diffstat (limited to 'src/exception.cc')
-rw-r--r--src/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc
index 7f378b6c..2b8fedc0 100644
--- a/src/exception.cc
+++ b/src/exception.cc
@@ -7,7 +7,7 @@
namespace Kakoune
{
-String exception::description() const
+const char* exception::what() const
{
return typeid(*this).name();
}