aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax/exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/eax/exception.cpp')
-rw-r--r--al/eax/exception.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/al/eax/exception.cpp b/al/eax/exception.cpp
index 3b319648..435e7442 100644
--- a/al/eax/exception.cpp
+++ b/al/eax/exception.cpp
@@ -6,17 +6,14 @@
#include <string>
-EaxException::EaxException(
- const char* context,
- const char* message)
- :
- std::runtime_error{make_message(context, message)}
+EaxException::EaxException(const char *context, const char *message)
+ : std::runtime_error{make_message(context, message)}
{
}
+EaxException::~EaxException() = default;
-std::string EaxException::make_message(
- const char* context,
- const char* message)
+
+std::string EaxException::make_message(const char *context, const char *message)
{
const auto context_size = (context ? std::string::traits_type::length(context) : 0);
const auto has_contex = (context_size > 0);