Skip to content

Commit 87b12c8

Browse files
committed
Extend C++11 guard to cover remaining use of std::vector data().
Now compiles without error with a pre-C++11 compiler (g++-3.3). Fixes #53 Please enter the commit message for your changes. Lines starting
1 parent fa2f2c6 commit 87b12c8

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
@@ -144,12 +144,12 @@ namespace zmq
144144
{
145145
return poll(items.data(), items.size(), timeout.count() );
146146
}
147-
#endif
148147

149148
inline int poll(std::vector<zmq_pollitem_t> const& items, long timeout_ = -1)
150149
{
151150
return poll(items.data(), items.size(), timeout_);
152151
}
152+
#endif
153153

154154

155155

0 commit comments

Comments
 (0)