You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mz...@apache.org on 2019/08/06 23:44:12 UTC

[mesos] branch master updated: Updated include guards in the sorter header files.

This is an automated email from the ASF dual-hosted git repository.

mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git


The following commit(s) were added to refs/heads/master by this push:
     new 04ef1dc  Updated include guards in the sorter header files.
04ef1dc is described below

commit 04ef1dca999f1d96210a74c5393c86b03e050ef4
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Tue Aug 6 14:51:09 2019 -0700

    Updated include guards in the sorter header files.
---
 src/master/allocator/mesos/sorter/drf/sorter.hpp    | 6 +++---
 src/master/allocator/mesos/sorter/random/sorter.hpp | 6 +++---
 src/master/allocator/mesos/sorter/sorter.hpp        | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/master/allocator/mesos/sorter/drf/sorter.hpp b/src/master/allocator/mesos/sorter/drf/sorter.hpp
index 0da635c..5370860 100644
--- a/src/master/allocator/mesos/sorter/drf/sorter.hpp
+++ b/src/master/allocator/mesos/sorter/drf/sorter.hpp
@@ -14,8 +14,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#ifndef __MASTER_ALLOCATOR_SORTER_DRF_SORTER_HPP__
-#define __MASTER_ALLOCATOR_SORTER_DRF_SORTER_HPP__
+#ifndef __MASTER_ALLOCATOR_MESOS_SORTER_DRF_SORTER_HPP__
+#define __MASTER_ALLOCATOR_MESOS_SORTER_DRF_SORTER_HPP__
 
 #include <algorithm>
 #include <set>
@@ -431,4 +431,4 @@ struct DRFSorter::Node
 } // namespace internal {
 } // namespace mesos {
 
-#endif // __MASTER_ALLOCATOR_SORTER_DRF_SORTER_HPP__
+#endif // __MASTER_ALLOCATOR_MESOS_SORTER_DRF_SORTER_HPP__
diff --git a/src/master/allocator/mesos/sorter/random/sorter.hpp b/src/master/allocator/mesos/sorter/random/sorter.hpp
index 1c22054..f18b014 100644
--- a/src/master/allocator/mesos/sorter/random/sorter.hpp
+++ b/src/master/allocator/mesos/sorter/random/sorter.hpp
@@ -14,8 +14,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#ifndef __MASTER_ALLOCATOR_SORTER_RANDOM_SORTER_HPP__
-#define __MASTER_ALLOCATOR_SORTER_RANDOM_SORTER_HPP__
+#ifndef __MASTER_ALLOCATOR_MESOS_SORTER_RANDOM_SORTER_HPP__
+#define __MASTER_ALLOCATOR_MESOS_SORTER_RANDOM_SORTER_HPP__
 
 #include <algorithm>
 #include <random>
@@ -428,4 +428,4 @@ struct RandomSorter::Node
 } // namespace internal {
 } // namespace mesos {
 
-#endif // __MASTER_ALLOCATOR_SORTER_RANDOM_SORTER_HPP__
+#endif // __MASTER_ALLOCATOR_MESOS_SORTER_RANDOM_SORTER_HPP__
diff --git a/src/master/allocator/mesos/sorter/sorter.hpp b/src/master/allocator/mesos/sorter/sorter.hpp
index d56a116..52b8a7b 100644
--- a/src/master/allocator/mesos/sorter/sorter.hpp
+++ b/src/master/allocator/mesos/sorter/sorter.hpp
@@ -14,8 +14,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
-#ifndef __MASTER_ALLOCATOR_SORTER_SORTER_HPP__
-#define __MASTER_ALLOCATOR_SORTER_SORTER_HPP__
+#ifndef __MASTER_ALLOCATOR_MESOS_SORTER_SORTER_HPP__
+#define __MASTER_ALLOCATOR_MESOS_SORTER_SORTER_HPP__
 
 #include <functional>
 #include <string>
@@ -153,4 +153,4 @@ public:
 } // namespace internal {
 } // namespace mesos {
 
-#endif // __MASTER_ALLOCATOR_SORTER_SORTER_HPP__
+#endif // __MASTER_ALLOCATOR_MESOS_SORTER_SORTER_HPP__