From 73fac05aa07a0dd16f7061baddd4b934c7855fed Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 10 Jun 2023 23:45:17 +0200 Subject: c++: Setting up testing progress --- src/core/error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/error.h') 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 - bool is_error() const; + bool is_type() const; }; template @@ -225,7 +225,7 @@ private: }; template -bool error::is_error() const { +bool error::is_type() const { return error_code_ == impl::get_template_id(); } -- cgit v1.2.3