summaryrefslogtreecommitdiff
path: root/src/swap.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-01-13 11:44:23 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-01-13 11:44:23 +0100
commit18f29ded6a83875c27395d254c25e3d152ae1cc6 (patch)
treebbfc85e87d032d00fb054dac0572262f5901a1ae /src/swap.hpp
parent70513871082462c957e46986040ebe7b10d64557 (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.hpp4
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&);
};
}