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/ctx.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ctx.hpp') diff --git a/src/ctx.hpp b/src/ctx.hpp index f35aa12..92684e6 100644 --- a/src/ctx.hpp +++ b/src/ctx.hpp @@ -143,7 +143,7 @@ namespace zmq mutex_t log_sync; ctx_t (const ctx_t&); - void operator = (const ctx_t&); + const ctx_t &operator = (const ctx_t&); }; } -- cgit v1.2.3