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/01/15 20:15:14 UTC
git commit: Fixed omitted includes.
Updated Branches:
refs/heads/master 560d4576b -> e5feb0113
Fixed omitted includes.
The includes of the respective C++11 standard headers were
missing. This issue becomes visible only when including one of those
headers before including a standard C++ header. As the namespace std::
simply does not exist without including a standard header, these two
headers produced errors on clang.
From: TILL TOENSHOFF <to...@me.com>
Review: https://reviews.apache.org/r/16912
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e5feb011
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e5feb011
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e5feb011
Branch: refs/heads/master
Commit: e5feb011311ae3f83fd8dd61c5cdcb89d86c4968
Parents: 560d457
Author: Benjamin Hindman <be...@gmail.com>
Authored: Wed Jan 15 11:14:46 2014 -0800
Committer: Benjamin Hindman <be...@gmail.com>
Committed: Wed Jan 15 11:14:46 2014 -0800
----------------------------------------------------------------------
3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp | 1 +
3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp | 1 +
2 files changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e5feb011/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 67b241d..f1eaa11 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/lambda.hpp
@@ -2,6 +2,7 @@
#define __STOUT_LAMBDA_HPP__
#if __cplusplus >= 201103L
+#include <functional>
namespace lambda {
using std::bind;
using std::function;
http://git-wip-us.apache.org/repos/asf/mesos/blob/e5feb011/3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp b/3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp
index 6e7ee43..deb8df3 100644
--- a/3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp
+++ b/3rdparty/libprocess/3rdparty/stout/include/stout/memory.hpp
@@ -2,6 +2,7 @@
#define __STOUT_MEMORY_HPP__
#if __cplusplus >= 201103L
+#include <memory>
namespace memory {
using std::shared_ptr;
using std::weak_ptr;