diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-01-13 11:44:23 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-01-13 11:44:23 +0100 |
commit | 18f29ded6a83875c27395d254c25e3d152ae1cc6 (patch) | |
tree | bbfc85e87d032d00fb054dac0572262f5901a1ae /src/pipe.hpp | |
parent | 70513871082462c957e46986040ebe7b10d64557 (diff) |
Make cppcheck not complain about "'operator=' should return something"
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/pipe.hpp')
-rw-r--r-- | src/pipe.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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&); }; } |