You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2014/04/30 06:21:31 UTC

[2/3] git commit: Added 'cref' and 'ref' to lambda:: namespace.

Added 'cref' and 'ref' to lambda:: namespace.

Review: https://reviews.apache.org/r/20306


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/15e2aee4
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/15e2aee4
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/15e2aee4

Branch: refs/heads/master
Commit: 15e2aee4aa294451306e2fbc3d9e4cf118a35db5
Parents: bfb6b4e
Author: Benjamin Hindman <be...@gmail.com>
Authored: Sat Apr 12 19:17:23 2014 -0600
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Tue Apr 29 21:11:45 2014 -0700

----------------------------------------------------------------------
 3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/15e2aee4/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
index ff11df2..d75f0f1 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
@@ -18,15 +18,19 @@
 #include <functional>
 namespace lambda {
 using std::bind;
+using std::cref;
 using std::function;
+using std::ref;
 using std::result_of;
 using namespace std::placeholders;
 } // namespace lambda {
 #else // __cplusplus >= 201103L
 #include <tr1/functional>
 namespace lambda {
+using std::tr1::cref;
 using std::tr1::bind;
 using std::tr1::function;
+using std::tr1::ref;
 using std::tr1::result_of;
 using namespace std::tr1::placeholders;
 } // namespace lambda {