diff --git a/src/core/autocmd.cpp b/src/core/autocmd.cpp index db32b1ca..2e8309ad 100644 --- a/src/core/autocmd.cpp +++ b/src/core/autocmd.cpp @@ -145,7 +145,7 @@ namespace vind { namespace core { - AutoCmdEvent get_autocmd_event(const std::string& event_name) noexcept { + AutoCmdEvent get_autocmd_event(const std::string& event_name) { static std::unordered_map names { {"appenter", AutoCmdEvent::APP_ENTER}, {"appleave", AutoCmdEvent::APP_LEAVE}, diff --git a/src/core/autocmd.hpp b/src/core/autocmd.hpp index 8646a33f..c0b0b9f5 100644 --- a/src/core/autocmd.hpp +++ b/src/core/autocmd.hpp @@ -36,7 +36,7 @@ namespace vind UNDEFINED, } ; - AutoCmdEvent get_autocmd_event(const std::string& event_name) noexcept ; + AutoCmdEvent get_autocmd_event(const std::string& event_name) ; inline AutoCmdEvent get_enter_event(Mode mode) { static const std::unordered_map enter_events {