Merge pull request #55 from banburybill/master

Extend C++11 guard to cover remaining use of std::vector data().
This commit is contained in:
Pieter Hintjens 2015-11-01 17:34:17 +01:00
commit a4459abdd1

View File

@ -144,12 +144,12 @@ namespace zmq
{
return poll(items.data(), items.size(), timeout.count() );
}
#endif
inline int poll(std::vector<zmq_pollitem_t> const& items, long timeout_ = -1)
{
return poll(items.data(), items.size(), timeout_);
}
#endif