mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-06-12 08:55:05 +02:00
Problem: message_t ctor for iterators double initializes the message
Solution: Remove constructor call
This commit is contained in:
parent
ec8a30a050
commit
1f4dd23a94
2
zmq.hpp
2
zmq.hpp
@ -248,7 +248,7 @@ class message_t
|
|||||||
throw error_t();
|
throw error_t();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T> message_t(T first, T last) : msg()
|
template<typename T> message_t(T first, T last)
|
||||||
{
|
{
|
||||||
typedef typename std::iterator_traits<T>::value_type value_t;
|
typedef typename std::iterator_traits<T>::value_type value_t;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user