Commit 837451ed authored by Martin Sustrik's avatar Martin Sustrik

Remove blob_t class

The class was used in a single place. Replaced by a local typedef.
Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 5650743d
......@@ -9,7 +9,6 @@ libzmq_la_SOURCES = \
array.hpp \
atomic_counter.hpp \
atomic_ptr.hpp \
blob.hpp \
clock.hpp \
command.hpp \
config.hpp \
......
/*
Copyright (c) 2007-2011 iMatix Corporation
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
0MQ is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
0MQ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __ZMQ_BLOB_HPP_INCLUDED__
#define __ZMQ_BLOB_HPP_INCLUDED__
#include <string>
namespace zmq
{
// Object to hold dynamically allocated opaque binary data.
typedef std::basic_string <unsigned char> blob_t;
}
#endif
......@@ -23,7 +23,6 @@
#include <string>
#include "blob.hpp"
#include "session.hpp"
namespace zmq
......
......@@ -22,11 +22,11 @@
#define __ZMQ_XPUB_HPP_INCLUDED__
#include <deque>
#include <string>
#include "socket_base.hpp"
#include "mtrie.hpp"
#include "array.hpp"
#include "blob.hpp"
#include "dist.hpp"
namespace zmq
......@@ -71,6 +71,7 @@ namespace zmq
// List of pending (un)subscriptions, ie. those that were already
// applied to the trie, but not yet received by the user.
typedef std::basic_string <unsigned char> blob_t;
typedef std::deque <blob_t> pending_t;
pending_t pending;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment