diff --git a/pxr/base/tf/testenv/hash.cpp b/pxr/base/tf/testenv/hash.cpp index 1ff1fa33fb..ebb084ede9 100644 --- a/pxr/base/tf/testenv/hash.cpp +++ b/pxr/base/tf/testenv/hash.cpp @@ -29,10 +29,6 @@ #include "pxr/base/tf/token.h" #include "pxr/base/tf/weakPtr.h" -// We're getting rid of our dependency on boost::hash -- this code is left -// commented for testing purposes, for now (6/2020). -//#include - #include #include #include @@ -156,23 +152,6 @@ _TestStatsTwo(Hasher const &h, char const *label) printf("took %f seconds\n", sw.GetSeconds()); } -/* See comment at top of file. - -struct BoostHasher -{ - size_t operator()(uint64_t x) const { - return boost::hash()(x); - } - - size_t operator()(Two t) const { - size_t seed = 0; - boost::hash_combine(seed, t.x); - boost::hash_combine(seed, t.y); - return seed; - } -}; -*/ - struct TfHasher { size_t operator()(uint64_t x) const { @@ -325,12 +304,9 @@ Test_TfHash() printf("hash(unique_ptr): %zu\n", h(std::make_unique(7))); TfHasher tfh; - //BoostHasher bh; _TestStatsOne(tfh, "TfHash"); _TestStatsTwo(tfh, "TfHash"); - //_TestStatsOne(bh, "Boost hash"); - //_TestStatsTwo(bh, "Boost hash"); bool status = true; return status;