From 87b12c806a8aaa073d2da12c69c61ce8fe0aa18b Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Sun, 1 Nov 2015 16:08:56 +0000 Subject: [PATCH] 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 --- zmq.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zmq.hpp b/zmq.hpp index 5f532fb..4f97f48 100644 --- a/zmq.hpp +++ b/zmq.hpp @@ -144,12 +144,12 @@ namespace zmq { return poll(items.data(), items.size(), timeout.count() ); } - #endif inline int poll(std::vector const& items, long timeout_ = -1) { return poll(items.data(), items.size(), timeout_); } + #endif