You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gr...@apache.org on 2018/08/01 20:24:25 UTC

[08/16] mesos git commit: Changed the 'capacity_' member of 'BoundedHashMap' to non-const.

Changed the 'capacity_' member of 'BoundedHashMap' to non-const.

This prevents the assignment operator from being implicitly deleted.

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


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

Branch: refs/heads/master
Commit: 716cd2c9b0ba5584711c1e5177ca8ccc6cf00547
Parents: dba94e3
Author: Greg Mann <gr...@mesosphere.io>
Authored: Wed Aug 1 07:58:48 2018 -0700
Committer: Greg Mann <gr...@gmail.com>
Committed: Wed Aug 1 13:07:55 2018 -0700

----------------------------------------------------------------------
 3rdparty/stout/include/stout/boundedhashmap.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/716cd2c9/3rdparty/stout/include/stout/boundedhashmap.hpp
----------------------------------------------------------------------
diff --git a/3rdparty/stout/include/stout/boundedhashmap.hpp b/3rdparty/stout/include/stout/boundedhashmap.hpp
index 09a9b96..f73ec6b 100644
--- a/3rdparty/stout/include/stout/boundedhashmap.hpp
+++ b/3rdparty/stout/include/stout/boundedhashmap.hpp
@@ -149,7 +149,7 @@ public:
   typename list::const_iterator end() const { return entries_.cend(); }
 
 private:
-  const size_t capacity_;
+  size_t capacity_;
   list entries_; // Key-value pairs ordered by insertion order.
   map keys_; // Map from key to "pointer" to key's location in list.
 };