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/swap.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/swap.hpp')
-rw-r--r-- | src/swap.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/swap.hpp b/src/swap.hpp index bc62fcd..503d35f 100644 --- a/src/swap.hpp +++ b/src/swap.hpp @@ -111,6 +111,10 @@ namespace zmq char *write_buf; int64_t write_buf_start_addr; + + // Disable copying of the swap object. + swap_t (const swap_t&); + const swap_t &operator = (const swap_t&); }; } |