summaryrefslogtreecommitdiff
path: root/bindings/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/cpp')
-rw-r--r--bindings/cpp/zmq.hpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/bindings/cpp/zmq.hpp b/bindings/cpp/zmq.hpp
index a9e63b5..cf7d347 100644
--- a/bindings/cpp/zmq.hpp
+++ b/bindings/cpp/zmq.hpp
@@ -32,13 +32,6 @@ namespace zmq
typedef zmq_free_fn free_fn;
- enum message_type_t
- {
- message_data = 1 << 0,
- message_gap = 1 << ZMQ_GAP,
- message_delimiter = 1 << ZMQ_DELIMITER
- };
-
// The class masquerades POSIX-style errno error as a C++ exception.
class error_t : public std::exception
{
@@ -148,12 +141,6 @@ namespace zmq
throw error_t ();
}
- // Returns message type.
- inline message_type_t type ()
- {
- return (message_type_t) (1 << zmq_msg_type (this));
- }
-
// Returns pointer to message's data buffer.
inline void *data ()
{