Fixed build

This commit is contained in:
SChernykh
2025-06-11 12:45:35 +02:00
parent 26bf2f07a0
commit 2f06a8b9b8

View File

@@ -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<EscapedString>
{
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<MaskNonASCII>
{
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<typename T>