From 11f212f1658a56c955a82f0f93bf2badf270d5e8 Mon Sep 17 00:00:00 2001 From: lganzzzo Date: Mon, 20 Jul 2020 05:00:43 +0300 Subject: [PATCH] Update to the latest oatpp API. --- client/src/Logger.cpp | 2 +- client/src/Logger.hpp | 2 +- server/src/Logger.cpp | 2 +- server/src/Logger.hpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/Logger.cpp b/client/src/Logger.cpp index 011162c..b0bbef0 100644 --- a/client/src/Logger.cpp +++ b/client/src/Logger.cpp @@ -10,7 +10,7 @@ #include -void Logger::log(v_int32 priority, const std::string& tag, const std::string& message) { +void Logger::log(v_uint32 priority, const std::string& tag, const std::string& message) { std::lock_guard lock(m_lock); std::cout << tag << ":" << message << "\n"; } \ No newline at end of file diff --git a/client/src/Logger.hpp b/client/src/Logger.hpp index 7d06d08..d75b28e 100644 --- a/client/src/Logger.hpp +++ b/client/src/Logger.hpp @@ -22,7 +22,7 @@ class Logger : public oatpp::base::Logger { oatpp::concurrency::SpinLock m_lock; public: - void log(v_int32 priority, const std::string& tag, const std::string& message) override; + void log(v_uint32 priority, const std::string& tag, const std::string& message) override; }; diff --git a/server/src/Logger.cpp b/server/src/Logger.cpp index 011162c..b0bbef0 100644 --- a/server/src/Logger.cpp +++ b/server/src/Logger.cpp @@ -10,7 +10,7 @@ #include -void Logger::log(v_int32 priority, const std::string& tag, const std::string& message) { +void Logger::log(v_uint32 priority, const std::string& tag, const std::string& message) { std::lock_guard lock(m_lock); std::cout << tag << ":" << message << "\n"; } \ No newline at end of file diff --git a/server/src/Logger.hpp b/server/src/Logger.hpp index 7d06d08..d75b28e 100644 --- a/server/src/Logger.hpp +++ b/server/src/Logger.hpp @@ -22,7 +22,7 @@ class Logger : public oatpp::base::Logger { oatpp::concurrency::SpinLock m_lock; public: - void log(v_int32 priority, const std::string& tag, const std::string& message) override; + void log(v_uint32 priority, const std::string& tag, const std::string& message) override; };