This is an automated email from the ASF dual-hosted git repository. amc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit f462170c3801526250c169fe29d93639be75c9ee Author: Alan M. Carroll <[email protected]> AuthorDate: Fri Jul 27 23:26:32 2018 -0500 IntrusiveHashMap: remove from "ts" namespace. The predecessor class, TSHashTable, wasn't in "ts" and having worked with IntrusiveHashMap for a while, I think it's best this isn't either. --- lib/ts/IntrusiveHashMap.h | 4 ---- lib/ts/unit-tests/test_IntrusiveHashMap.cc | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ts/IntrusiveHashMap.h b/lib/ts/IntrusiveHashMap.h index b39514c..84a64fa 100644 --- a/lib/ts/IntrusiveHashMap.h +++ b/lib/ts/IntrusiveHashMap.h @@ -28,8 +28,6 @@ #include <algorithm> #include <ts/IntrusiveDList.h> -namespace ts -{ /** Intrusive Hash Table. Values stored in this container are not destroyed when the container is destroyed or removed from the container. @@ -658,5 +656,3 @@ IntrusiveHashMap<H>::get_expansion_limit() const return _expansion_limit; } /* ---------------------------------------------------------------------------------------------- */ - -} // namespace ts diff --git a/lib/ts/unit-tests/test_IntrusiveHashMap.cc b/lib/ts/unit-tests/test_IntrusiveHashMap.cc index ba30e97..67a0377 100644 --- a/lib/ts/unit-tests/test_IntrusiveHashMap.cc +++ b/lib/ts/unit-tests/test_IntrusiveHashMap.cc @@ -78,7 +78,7 @@ struct ThingMapDescriptor { } }; -using Map = ts::IntrusiveHashMap<ThingMapDescriptor>; +using Map = IntrusiveHashMap<ThingMapDescriptor>; } // namespace
