Skip to content

Commit 1f4dd23

Browse files
committed
Problem: message_t ctor for iterators double initializes the message
Solution: Remove constructor call
1 parent ec8a30a commit 1f4dd23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ class message_t
248248
throw error_t();
249249
}
250250

251-
template<typename T> message_t(T first, T last) : msg()
251+
template<typename T> message_t(T first, T last)
252252
{
253253
typedef typename std::iterator_traits<T>::value_type value_t;
254254

0 commit comments

Comments
 (0)