summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/error.cpp b/src/core/error.cpp
index 52af76f..80ae52b 100644
--- a/src/core/error.cpp
+++ b/src/core/error.cpp
@@ -18,7 +18,7 @@ error::error(error &&error)
const std::string_view error::get_category() const {
auto& reg = impl::get_error_registry();
- auto eov = reg.search_error_category(error_code_);
+ auto eov = reg.search_category(error_code_);
SAW_ASSERT(eov.is_value()){
return "Error category not found. Report this error to the forstio maintainer";
}