diff --git a/src/cpp-utils/logging/logging.h b/src/cpp-utils/logging/logging.h index 0388732d..f98aa79f 100644 --- a/src/cpp-utils/logging/logging.h +++ b/src/cpp-utils/logging/logging.h @@ -9,10 +9,10 @@ namespace cpputils { namespace logging { - constexpr struct ERROR_TYPE {} ERROR; - constexpr struct WARN_TYPE {} WARN; - constexpr struct INFO_TYPE {} INFO; - constexpr struct DEBUG_TYPE {} DEBUG; + constexpr struct ERROR_TYPE {} ERROR {}; + constexpr struct WARN_TYPE {} WARN {}; + constexpr struct INFO_TYPE {} INFO {}; + constexpr struct DEBUG_TYPE {} DEBUG {}; inline void setLogger(std::shared_ptr newLogger) { logger().setLogger(newLogger);