From 2f06a8b9b8ecaa0eb67f304f9d501407aa938a6d Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Wed, 11 Jun 2025 12:45:35 +0200 Subject: [PATCH] Fixed build --- src/log.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/log.h b/src/log.h index 8aa6b07..fd150e4 100644 --- a/src/log.h +++ b/src/log.h @@ -451,13 +451,12 @@ struct EscapedString FORCEINLINE operator const std::string&() const { return m_data; } -private: std::string m_data; }; template<> struct log::Stream::Entry { - static FORCEINLINE void put(const EscapedString& value, Stream* wrapper) { *wrapper << value; } + static FORCEINLINE void put(const EscapedString& value, Stream* wrapper) { *wrapper << value.m_data; } }; struct MaskNonASCII @@ -473,13 +472,12 @@ struct MaskNonASCII FORCEINLINE operator const std::string&() const { return m_data; } -private: std::string m_data; }; template<> struct log::Stream::Entry { - static FORCEINLINE void put(const MaskNonASCII& value, Stream* wrapper) { *wrapper << value; } + static FORCEINLINE void put(const MaskNonASCII& value, Stream* wrapper) { *wrapper << value.m_data; } }; template