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/pipe.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pipe.hpp') diff --git a/src/pipe.hpp b/src/pipe.hpp index a956ce3..4c94b40 100644 --- a/src/pipe.hpp +++ b/src/pipe.hpp @@ -113,7 +113,7 @@ namespace zmq bool terminating; reader_t (const reader_t&); - void operator = (const reader_t&); + const reader_t &operator = (const reader_t&); }; struct i_writer_events @@ -205,7 +205,7 @@ namespace zmq bool terminating; writer_t (const writer_t&); - void operator = (const writer_t&); + const writer_t &operator = (const writer_t&); }; } -- cgit v1.2.3