- fix compilation on Windows
This commit is contained in:
parent
186ec4ccb4
commit
786cefed45
|
|
@ -311,3 +311,10 @@ Logger::operator << (const std::string_view& data)
|
|||
*mStream << data;
|
||||
return *this;
|
||||
}
|
||||
|
||||
Logger&
|
||||
Logger::operator << (const std::filesystem::path& p)
|
||||
{
|
||||
*mStream << p;
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <filesystem>
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <winsock2.h>
|
||||
|
|
@ -125,6 +126,7 @@ public:
|
|||
Logger& operator << (const int64_t data);
|
||||
Logger& operator << (const unsigned int data);
|
||||
Logger& operator << (const uint64_t data);
|
||||
Logger& operator << (const std::filesystem::path& p);
|
||||
|
||||
protected:
|
||||
LogGuard mGuard;
|
||||
|
|
|
|||
Loading…
Reference in New Issue