diff --git a/p2p/source/error.hpp b/p2p/source/error.hpp index 23cb548b9..0d385c0a7 100644 --- a/p2p/source/error.hpp +++ b/p2p/source/error.hpp @@ -47,6 +47,7 @@ class Error final : template Error operator <<(const Type_ &value) && { + // NOLINTNEXTLINE(misc-const-correctness) std::ostringstream data; data << value; what_ += data.str();