Mercurial > hg > vamp-build-and-test
diff DEPENDENCIES/generic/include/boost/thread/completion_latch.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/thread/completion_latch.hpp Fri Sep 04 12:01:02 2015 +0100 +++ b/DEPENDENCIES/generic/include/boost/thread/completion_latch.hpp Mon Sep 07 11:12:49 2015 +0100 @@ -16,12 +16,8 @@ #include <boost/chrono/duration.hpp> #include <boost/chrono/time_point.hpp> #include <boost/assert.hpp> -#ifdef BOOST_NO_CXX11_HDR_FUNCTIONAL -#include <boost/function.hpp> -#else -#include <functional> -#endif -//#include <boost/thread/latch.hpp> +//#include <boost/thread/detail/nullary_function.hpp> +#include <boost/thread/csbl/functional.hpp> #include <boost/config/abi_prefix.hpp> @@ -37,11 +33,8 @@ { public: /// the implementation defined completion function type -#ifdef BOOST_NO_CXX11_HDR_FUNCTIONAL - typedef function<void()> completion_function; -#else - typedef std::function<void()> completion_function; -#endif + //typedef detail::nullary_function<void()> completion_function; + typedef csbl::function<void()> completion_function; /// noop completion function factory static completion_function noop() {