diff --git a/vnpy/api/oes/vnoes/include/autocxxpy/callback_wrapper.hpp b/vnpy/api/oes/vnoes/include/autocxxpy/callback_wrapper.hpp index 1ac97966..02b87521 100644 --- a/vnpy/api/oes/vnoes/include/autocxxpy/callback_wrapper.hpp +++ b/vnpy/api/oes/vnoes/include/autocxxpy/callback_wrapper.hpp @@ -94,7 +94,7 @@ namespace autocxxpy return what(); } - virtual char const* what() const override + virtual char const* what() const noexcept override { return _what.c_str(); }