summaryrefslogtreecommitdiff
path: root/src/swap.hpp
diff options
context:
space:
mode:
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&);
};
}