You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ne...@apache.org on 2017/03/09 16:53:30 UTC
[3/5] mesos git commit: Cleaned up header includes.
Cleaned up header includes.
Review: https://reviews.apache.org/r/57164/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e9cd7082
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e9cd7082
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e9cd7082
Branch: refs/heads/master
Commit: e9cd70821a79888ab7e30b9be4d54157f4d3ac58
Parents: d686f61
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Mar 9 11:47:22 2017 -0500
Committer: Neil Conway <ne...@gmail.com>
Committed: Thu Mar 9 11:48:05 2017 -0500
----------------------------------------------------------------------
include/mesos/roles.hpp | 2 ++
src/common/roles.cpp | 7 ++++++-
src/tests/reconciliation_tests.cpp | 3 ---
src/tests/slave_recovery_tests.cpp | 1 -
src/tests/sorter_tests.cpp | 3 ---
5 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e9cd7082/include/mesos/roles.hpp
----------------------------------------------------------------------
diff --git a/include/mesos/roles.hpp b/include/mesos/roles.hpp
index 1e69544..9a74182 100644
--- a/include/mesos/roles.hpp
+++ b/include/mesos/roles.hpp
@@ -20,6 +20,8 @@
#include <string>
#include <vector>
+#include <stout/error.hpp>
+#include <stout/option.hpp>
#include <stout/try.hpp>
namespace mesos {
http://git-wip-us.apache.org/repos/asf/mesos/blob/e9cd7082/src/common/roles.cpp
----------------------------------------------------------------------
diff --git a/src/common/roles.cpp b/src/common/roles.cpp
index 31774a9..a53ac06 100644
--- a/src/common/roles.cpp
+++ b/src/common/roles.cpp
@@ -16,10 +16,15 @@
#include <mesos/roles.hpp>
+#include <vector>
+#include <string>
+
+#include <stout/error.hpp>
#include <stout/foreach.hpp>
+#include <stout/option.hpp>
#include <stout/strings.hpp>
+#include <stout/try.hpp>
-using std::initializer_list;
using std::string;
using std::vector;
http://git-wip-us.apache.org/repos/asf/mesos/blob/e9cd7082/src/tests/reconciliation_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/reconciliation_tests.cpp b/src/tests/reconciliation_tests.cpp
index 3573d55..b84a1ab 100644
--- a/src/tests/reconciliation_tests.cpp
+++ b/src/tests/reconciliation_tests.cpp
@@ -14,9 +14,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include <stdint.h>
-#include <unistd.h>
-
#include <vector>
#include <gmock/gmock.h>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e9cd7082/src/tests/slave_recovery_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/slave_recovery_tests.cpp b/src/tests/slave_recovery_tests.cpp
index a29b29c..a836101 100644
--- a/src/tests/slave_recovery_tests.cpp
+++ b/src/tests/slave_recovery_tests.cpp
@@ -14,7 +14,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include <stdint.h>
#include <unistd.h>
#include <string>
http://git-wip-us.apache.org/repos/asf/mesos/blob/e9cd7082/src/tests/sorter_tests.cpp
----------------------------------------------------------------------
diff --git a/src/tests/sorter_tests.cpp b/src/tests/sorter_tests.cpp
index eaf2a26..ec0636b 100644
--- a/src/tests/sorter_tests.cpp
+++ b/src/tests/sorter_tests.cpp
@@ -14,9 +14,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include <stdarg.h>
-#include <stdint.h>
-
#include <iostream>
#include <string>
#include <vector>