diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-05-16 16:04:28 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-05-16 16:04:28 +0200 |
commit | f9083189bb36c39856bfe259096eb5df142ba397 (patch) | |
tree | 021cf38379e802cd20f0b9c413a9c4213b09c3f5 /src/core/error.cpp | |
parent | 14cb83d0d70aa33135090aed2d6b750f69e189f3 (diff) |
c++: Fix naming convention for error
Diffstat (limited to 'src/core/error.cpp')
-rw-r--r-- | src/core/error.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/error.cpp b/src/core/error.cpp index 727ca95..9f58ef2 100644 --- a/src/core/error.cpp +++ b/src/core/error.cpp @@ -15,7 +15,7 @@ error::error(error &&error) , is_critical_{std::move(error.is_critical_)} , error_message_{std::move(error.error_message_)}{} -const std::string_view error::message() const { +const std::string_view error::get_message() const { return std::visit( [this](auto &&arg) -> const std::string_view { |