summaryrefslogtreecommitdiff
path: root/src/core/error.h
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-06-10 23:45:17 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-06-10 23:45:17 +0200
commit73fac05aa07a0dd16f7061baddd4b934c7855fed (patch)
treea604b60635052450755729beaa8450c402ab05a6 /src/core/error.h
parent6c8e3d1786a5de4ae562c03693b8dad9dd0ab26e (diff)
c++: Setting up testing progress
Diffstat (limited to 'src/core/error.h')
-rw-r--r--src/core/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/error.h b/src/core/error.h
index 2ed7cd4..32eab1e 100644
--- a/src/core/error.h
+++ b/src/core/error.h
@@ -48,7 +48,7 @@ public:
code get_id() const;
template<typename T>
- bool is_error() const;
+ bool is_type() const;
};
template<typename T>
@@ -225,7 +225,7 @@ private:
};
template<typename T>
-bool error::is_error() const {
+bool error::is_type() const {
return error_code_ == impl::get_template_id<T>();
}