From d25dce9df916b6fa646776015162415cc9efb835 Mon Sep 17 00:00:00 2001 From: Ivan Pechorin Date: Sun, 20 May 2012 13:34:08 +0200 Subject: [PATCH] Solaris/SunCC build fix: could not find a match for std::multimap<...>::insert(std::pair<...,...>) --- src/socket_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket_base.cpp b/src/socket_base.cpp index b095f2b5..dedc4d49 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -547,7 +547,7 @@ void zmq::socket_base_t::add_endpoint (const char *addr_, own_t *endpoint_) { // Activate the session. Make it a child of this socket. launch_child (endpoint_); - endpoints.insert (std::make_pair (std::string (addr_), endpoint_)); + endpoints.insert (endpoints_t::value_type (std::string (addr_), endpoint_)); } int zmq::socket_base_t::term_endpoint (const char *addr_)