summaryrefslogtreecommitdiff
path: root/src/socket_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r--src/socket_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 8ff2a6a..2293701 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -562,7 +562,7 @@ bool zmq::socket_base_t::register_session (const blob_t &name_,
{
sessions_sync.lock ();
bool registered = sessions.insert (
- std::make_pair (name_, session_)).second;
+ sessions_t::value_type (name_, session_)).second;
sessions_sync.unlock ();
return registered;
}