From 2b46cb937a2a4774a56c271dbd39abfab3793339 Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Fri, 11 Jul 2025 21:48:51 +0200 Subject: [PATCH] Fixed MSVC compilation --- src/log.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/log.h b/src/log.h index fd150e4..a5d167e 100644 --- a/src/log.h +++ b/src/log.h @@ -168,6 +168,11 @@ template<> struct Stream::Entry static FORCEINLINE void put(const char* data, Stream* wrapper) { wrapper->writeBuf(data, strlen(data)); } }; +template<> struct Stream::Entry +{ + static FORCEINLINE void put(const char* const data, Stream* wrapper) { wrapper->writeBuf(data, strlen(data)); } +}; + template<> struct Stream::Entry { // cppcheck-suppress constParameterPointer