summaryrefslogtreecommitdiff
path: root/src/xrep.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-10-14 12:13:52 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-14 12:13:52 +0200
commitb7386f5b5031b2e75fb4370069935d7f6a0eedbb (patch)
treef50f0b1f6e428ac8296da906926463dea3e30bf0 /src/xrep.cpp
parentf9e6d94be56fab6d1d8e281e48bb5d6091562acb (diff)
To insert to associateive STL containers value_type used instead of make_pair
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/xrep.cpp')
-rw-r--r--src/xrep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xrep.cpp b/src/xrep.cpp
index a9e2cc9..b0ac601 100644
--- a/src/xrep.cpp
+++ b/src/xrep.cpp
@@ -56,7 +56,7 @@ void zmq::xrep_t::xattach_pipes (reader_t *inpipe_, writer_t *outpipe_,
// TODO: What if new connection has same peer identity as the old one?
outpipe_t outpipe = {outpipe_, true};
- bool ok = outpipes.insert (std::make_pair (
+ bool ok = outpipes.insert (outpipes_t::value_type (
peer_identity_, outpipe)).second;
zmq_assert (ok);