This is an automated email from the ASF dual-hosted git repository. paziz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push: new d28bf77 consfity the get_kys function d28bf77 is described below commit d28bf7782ead9f9d4fc0d8d4bd466c8efc6a4446 Author: Persia Aziz <per...@yahoo-inc.com> AuthorDate: Thu Jul 13 15:28:11 2017 -0500 consfity the get_kys function --- lib/ts/Map.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ts/Map.h b/lib/ts/Map.h index d354613..05e8b5e 100644 --- a/lib/ts/Map.h +++ b/lib/ts/Map.h @@ -78,7 +78,7 @@ public: ME *put(K akey); C get(K akey); C *getp(K akey); - void get_keys(Vec<K> &keys); + void get_keys(Vec<K> &keys) const; void get_keys_set(Vec<K> &keys); void get_values(Vec<C> &values); void map_union(Map<K, C> &m); @@ -114,7 +114,7 @@ public: MapElem<K, C> *get_internal(K akey) const; C get(K akey) const; value_type *put(K akey, C avalue); - void get_keys(Vec<K> &keys); + void get_keys(Vec<K> &keys) const; void get_values(Vec<C> &values); private: @@ -351,7 +351,7 @@ Map<K, C, A>::put(K akey) template <class K, class C, class A> inline void -Map<K, C, A>::get_keys(Vec<K> &keys) +Map<K, C, A>::get_keys(Vec<K> &keys) const { for (size_t i = 0; i < n; i++) if (v[i].key) @@ -558,7 +558,7 @@ HashMap<K, AHashFns, C, A>::put(K akey, C avalue) template <class K, class AHashFns, class C, class A> inline void -HashMap<K, AHashFns, C, A>::get_keys(Vec<K> &keys) +HashMap<K, AHashFns, C, A>::get_keys(Vec<K> &keys) const { Map<K, C, A>::get_keys(keys); } -- To stop receiving notification emails like this one, please contact ['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].