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/client_manager.cc | |
| parent | 52cd08915de39ac520c246ec76d0814bed2be68d (diff) | |
exception::what returns a StringView rather than a const char*
Diffstat (limited to 'src/client_manager.cc')
| -rw-r--r-- | src/client_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc index b1b97888..974be41f 100644 --- a/src/client_manager.cc +++ b/src/client_manager.cc @@ -41,7 +41,7 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui, } catch (Kakoune::runtime_error& error) { - client->context().print_status({ error.what(), get_face("Error") }); + client->context().print_status({ error.what().str(), get_face("Error") }); client->context().hooks().run_hook("RuntimeError", error.what(), client->context()); } |
