From 84cfef8513b88068e8ef66223d09b6c48d35caad Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 16 Dec 2022 09:48:54 -0800 Subject: Avoid inlining certain exception functions --- al/eax/exception.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'al/eax/exception.h') diff --git a/al/eax/exception.h b/al/eax/exception.h index 9a7acf71..3ae88cdc 100644 --- a/al/eax/exception.h +++ b/al/eax/exception.h @@ -6,19 +6,12 @@ #include -class EaxException : - public std::runtime_error -{ -public: - EaxException( - const char* context, - const char* message); - +class EaxException : public std::runtime_error { + static std::string make_message(const char *context, const char *message); -private: - static std::string make_message( - const char* context, - const char* message); +public: + EaxException(const char *context, const char *message); + ~EaxException() override; }; // EaxException -- cgit v1.2.3