fix error construct

This commit is contained in:
chatlanin 2022-11-14 13:21:53 +03:00
parent 0679cdf56c
commit e04b13585f

View File

@ -136,8 +136,8 @@ namespace hack
{ {
public: public:
warn(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current()); warn(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current());
warn(log&) = delete; warn(warn&) = delete;
warn(log&&) = delete; warn(warn&&) = delete;
public: public:
template<typename... Args> template<typename... Args>
@ -163,8 +163,8 @@ namespace hack
{ {
public: public:
error(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current()); error(std::string devider_ = ", ", std::experimental::source_location location_ = std::experimental::source_location::current());
error(log&) = delete; error(error&) = delete;
error(log&&) = delete; error(error&&) = delete;
public: public:
template<typename... Args> template<typename... Args>