You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2017/07/07 21:55:32 UTC

mesos git commit: Modified the access specifier for `net::IP` and `net::IP::Network`.

Repository: mesos
Updated Branches:
  refs/heads/master 120da53b7 -> c8bb72c66


Modified the access specifier for `net::IP` and `net::IP::Network`.

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


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

Branch: refs/heads/master
Commit: c8bb72c663b59244e660918e38b208a4ae05fa4c
Parents: 120da53
Author: Avinash sridharan <av...@mesosphere.io>
Authored: Fri Jul 7 14:55:19 2017 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Fri Jul 7 14:55:19 2017 -0700

----------------------------------------------------------------------
 3rdparty/stout/include/stout/ip.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c8bb72c6/3rdparty/stout/include/stout/ip.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/ip.hpp b/3rdparty/stout/include/stout/ip.hpp
index 6c2f323..51000b4 100644
--- a/3rdparty/stout/include/stout/ip.hpp
+++ b/3rdparty/stout/include/stout/ip.hpp
@@ -291,7 +291,7 @@ public:
       return !(*this == that);
     }
 
-  private:
+  protected:
     Network(const IP& _address, const IP& _netmask)
       : address_(new IP(_address)), netmask_(new IP(_netmask)) {}
 
@@ -304,7 +304,7 @@ public:
     std::unique_ptr<IP> netmask_;
   };
 
-private:
+protected:
   // NOTE: We need to clear the union when creating an IP because the
   // equality check uses memcmp.
   void clear()