Skip to content

Commit

Permalink
Problem: message_t ctor for iterators double initializes the message
Browse files Browse the repository at this point in the history
Solution: Remove constructor call
  • Loading branch information
gummif committed May 15, 2019
1 parent ec8a30a commit 1f4dd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zmq.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ class message_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;

Expand Down

0 comments on commit 1f4dd23

Please sign in to comment.