From 72a793f78ae6c7b544d4c19530c01e8dfd23ccf5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 21 Jul 2011 18:43:50 +0200 Subject: ZMQ_GENERIC renamed to ZMQ_ROUTER Signed-off-by: Martin Sustrik --- src/socket_base.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/socket_base.cpp') diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 2513f81..92715b1 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -58,7 +58,7 @@ #include "xrep.hpp" #include "xpub.hpp" #include "xsub.hpp" -#include "generic.hpp" +#include "router.hpp" bool zmq::socket_base_t::check_tag () { @@ -104,8 +104,8 @@ zmq::socket_base_t *zmq::socket_base_t::create (int type_, class ctx_t *parent_, case ZMQ_XSUB: s = new (std::nothrow) xsub_t (parent_, tid_); break; - case ZMQ_GENERIC: - s = new (std::nothrow) generic_t (parent_, tid_); + case ZMQ_ROUTER: + s = new (std::nothrow) router_t (parent_, tid_); break; default: errno = EINVAL; -- cgit v1.2.3