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/xrep.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xrep.hpp') diff --git a/src/xrep.hpp b/src/xrep.hpp index 8c2e683..0c7d696 100644 --- a/src/xrep.hpp +++ b/src/xrep.hpp @@ -106,7 +106,7 @@ namespace zmq bool terminating; xrep_t (const xrep_t&); - void operator = (const xrep_t&); + const xrep_t &operator = (const xrep_t&); }; } -- cgit v1.2.3