Updated stout tuple to pull in tr1::tuple instead of boost::tuple for pre-C++11.
Review: https://reviews.apache.org/r/18833 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/237c93f7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/237c93f7 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/237c93f7 Branch: refs/heads/master Commit: 237c93f752aad74392c2680780cbce8bd9c6461d Parents: 4a70f14 Author: Till Toenshoff <[email protected]> Authored: Thu Mar 6 10:09:00 2014 -0800 Committer: Benjamin Mahler <[email protected]> Committed: Thu Mar 6 10:09:00 2014 -0800 ---------------------------------------------------------------------- 3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/237c93f7/3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp index 469c159..ce77c90 100644 --- a/3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp +++ b/3rdparty/libprocess/3rdparty/stout/include/stout/tuple.hpp @@ -17,7 +17,7 @@ #if __cplusplus >= 201103L #include <tuple> #else -#include <boost/tuple/tuple.hpp> +#include <tr1/tuple> #endif // __cplusplus >= 201103L namespace tuples { @@ -27,9 +27,9 @@ using std::tuple; using std::make_tuple; using std::get; #else // __cplusplus >= 201103L -using boost::tuples::tuple; -using boost::tuples::make_tuple; -using boost::get; +using std::tr1::tuple; +using std::tr1::make_tuple; +using std::tr1::get; #endif // __cplusplus >= 201103L } // namespace tuples
