You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/zeromq/libzmq/blob/master/src/timers.hpp#L70
Using insert to add key-value pairs to this _timers std::multimap container may cause unnecessary copying or moving.
Using emplace instead of insert can construct objects inside the container, thus avoiding unnecessary copying or moving.
The text was updated successfully, but these errors were encountered:
Issue description
https://github.com/zeromq/libzmq/blob/master/src/timers.hpp#L70
Using
insert
to add key-value pairs to this _timersstd::multimap
container may cause unnecessary copying or moving.Using
emplace
instead ofinsert
can construct objects inside the container, thus avoiding unnecessary copying or moving.The text was updated successfully, but these errors were encountered: