From 2eb9cf59cce2e5370af76708a5309d50739d9289 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 29 Apr 2025 11:21:52 -0400 Subject: [PATCH] MT#62181 hash_table: remove unused class Obviously the intent was to have reference-counted pointers as table value, but this isn't used anywhere, and anyway would be better implemented using a shared_ptr. Change-Id: I4df6e874d402d615f654f3a8df3195fe6dda46bb --- core/hash_table.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/hash_table.h b/core/hash_table.h index e72acd6a..9792af30 100644 --- a/core/hash_table.h +++ b/core/hash_table.h @@ -135,19 +135,6 @@ public: } }; -template -class ht_ref_cnt -{ -public: - Value* new_elmt(Value* v) { - inc_ref(v); - return v; - } - void dispose(Value* v) { - dec_ref(v); - } -}; - template, class ElmtCompare = less >