From 786cefed45f638b315b50f1463c75d9dd347654d Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Fri, 12 Dec 2025 07:06:49 +0300 Subject: [PATCH] - fix compilation on Windows --- src/libs/ice/ICELog.cpp | 7 +++++++ src/libs/ice/ICELog.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/libs/ice/ICELog.cpp b/src/libs/ice/ICELog.cpp index f6720a5c..42bcd31a 100644 --- a/src/libs/ice/ICELog.cpp +++ b/src/libs/ice/ICELog.cpp @@ -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; +} diff --git a/src/libs/ice/ICELog.h b/src/libs/ice/ICELog.h index 5feac16f..bd419a47 100644 --- a/src/libs/ice/ICELog.h +++ b/src/libs/ice/ICELog.h @@ -8,6 +8,7 @@ #include #include +#include #ifdef _WIN32 # include @@ -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;