Commit 65b6351e authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #342 from ipechorin/master

Solaris/SunCC build fix: could not find a match for std::multimap<...>::insert(std::pair<...,...>)
parents 5ef63318 d25dce9d
...@@ -547,7 +547,7 @@ void zmq::socket_base_t::add_endpoint (const char *addr_, own_t *endpoint_) ...@@ -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. // Activate the session. Make it a child of this socket.
launch_child (endpoint_); 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_) int zmq::socket_base_t::term_endpoint (const char *addr_)
......
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