Skip to content

Commit

Permalink
Update to the latest oatpp API.
Browse files Browse the repository at this point in the history
  • Loading branch information
lganzzzo committed Jul 20, 2020
1 parent 294959d commit 11f212f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <iostream>

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<oatpp::concurrency::SpinLock> lock(m_lock);
std::cout << tag << ":" << message << "\n";
}
2 changes: 1 addition & 1 deletion client/src/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

};

Expand Down
2 changes: 1 addition & 1 deletion server/src/Logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <iostream>

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<oatpp::concurrency::SpinLock> lock(m_lock);
std::cout << tag << ":" << message << "\n";
}
2 changes: 1 addition & 1 deletion server/src/Logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

};

Expand Down

0 comments on commit 11f212f

Please sign in to comment.