From e04b13585f68bf01b2e839448f732b557d2662cb Mon Sep 17 00:00:00 2001 From: chatlanin Date: Mon, 14 Nov 2022 13:21:53 +0300 Subject: [PATCH] fix error construct --- src/logger/logger.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/logger/logger.hpp b/src/logger/logger.hpp index eae2fc1..f10265c 100644 --- a/src/logger/logger.hpp +++ b/src/logger/logger.hpp @@ -136,8 +136,8 @@ namespace hack { public: warn(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current()); - warn(log&) = delete; - warn(log&&) = delete; + warn(warn&) = delete; + warn(warn&&) = delete; public: template @@ -163,8 +163,8 @@ namespace hack { public: error(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current()); - error(log&) = delete; - error(log&&) = delete; + error(error&) = delete; + error(error&&) = delete; public: template