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/mutex.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mutex.hpp') diff --git a/src/mutex.hpp b/src/mutex.hpp index 7e54096..2793f94 100644 --- a/src/mutex.hpp +++ b/src/mutex.hpp @@ -110,7 +110,7 @@ namespace zmq // Disable copy construction and assignment. mutex_t (const mutex_t&); - void operator = (const mutex_t&); + const mutex_t &operator = (const mutex_t&); }; } -- cgit v1.2.3