diff --git a/zmq_addon.hpp b/zmq_addon.hpp index cb0c5a7..0e93ebd 100644 --- a/zmq_addon.hpp +++ b/zmq_addon.hpp @@ -338,7 +338,7 @@ public: // Peek type (fixed-size) from front template - T peektyp(size_t index) + T peektyp(size_t index) const { static_assert(!std::is_same::value, "Use peekstr() instead of peektyp()"); if(sizeof(T) != m_parts[index].size())