diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-03-13 13:15:51 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-03-13 13:15:51 +0000 |
| commit | 2747c4dd3ecd6169873545cea4832fa79b0c73a1 (patch) | |
| tree | 85d55c3b9e25ec64ffce7aa95fbeb3aa011af338 /src/exception.cc | |
| parent | 52cd08915de39ac520c246ec76d0814bed2be68d (diff) | |
exception::what returns a StringView rather than a const char*
Diffstat (limited to 'src/exception.cc')
| -rw-r--r-- | src/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc index 2b8fedc0..e97f2b6c 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -7,7 +7,7 @@ namespace Kakoune { -const char* exception::what() const +StringView exception::what() const { return typeid(*this).name(); } |
