Fix clang build

This commit is contained in:
Sebastian Messmer 2017-02-04 19:17:17 +00:00
parent 54e0ffce2e
commit 59afd50c28

View File

@ -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<spdlog::logger> newLogger) {
logger().setLogger(newLogger);