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