From 18f29ded6a83875c27395d254c25e3d152ae1cc6 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 13 Jan 2011 11:44:23 +0100 Subject: Make cppcheck not complain about "'operator=' should return something" Signed-off-by: Martin Sustrik --- src/kqueue.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kqueue.hpp') diff --git a/src/kqueue.hpp b/src/kqueue.hpp index ad02882..83ff407 100644 --- a/src/kqueue.hpp +++ b/src/kqueue.hpp @@ -92,7 +92,7 @@ namespace zmq thread_t worker; kqueue_t (const kqueue_t&); - void operator = (const kqueue_t&); + const kqueue_t &operator = (const kqueue_t&); }; } -- cgit v1.2.3