You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/12/04 01:04:29 UTC

mesos git commit: Fixed a compiler warning from clang.

Repository: mesos
Updated Branches:
  refs/heads/master 8a75dd226 -> 325fccafc


Fixed a compiler warning from clang.


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

Branch: refs/heads/master
Commit: 325fccafc2cd51f595e4ca065fc7735d3e544ca5
Parents: 8a75dd2
Author: Benjamin Mahler <be...@gmail.com>
Authored: Wed Dec 3 16:03:24 2014 -0800
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Wed Dec 3 16:03:24 2014 -0800

----------------------------------------------------------------------
 src/master/allocator.hpp | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/325fccaf/src/master/allocator.hpp
----------------------------------------------------------------------
diff --git a/src/master/allocator.hpp b/src/master/allocator.hpp
index af4782b..0849ac8 100644
--- a/src/master/allocator.hpp
+++ b/src/master/allocator.hpp
@@ -140,6 +140,10 @@ public:
 
   virtual ~AllocatorProcess() {}
 
+  // Explicitly unhide 'initialize' to silence a compiler warning
+  // from clang, since we overload below.
+  using process::ProcessBase::initialize;
+
   virtual void initialize(
       const Flags& flags,
       const process::PID<Master>& master,