From 7603482a9e7420068dbacc138b55a07a7ae23700 Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 1 Dec 2023 16:42:22 +0100 Subject: [PATCH] fix MetadataRegistry not implementing SizeBytes... and deferring to an awfully slow blanket impl!!! --- crates/re_arrow_store/src/store_stats.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/re_arrow_store/src/store_stats.rs b/crates/re_arrow_store/src/store_stats.rs index c789613bc812c..e3bacb64c3628 100644 --- a/crates/re_arrow_store/src/store_stats.rs +++ b/crates/re_arrow_store/src/store_stats.rs @@ -1,5 +1,5 @@ use nohash_hasher::IntMap; -use re_log_types::{TimePoint, TimeRange}; +use re_log_types::{EntityPathHash, TimePoint, TimeRange}; use re_types_core::{ComponentName, SizeBytes}; use crate::{ @@ -183,7 +183,7 @@ impl SizeBytes for DataTypeRegistry { } } -impl SizeBytes for MetadataRegistry { +impl SizeBytes for MetadataRegistry<(TimePoint, EntityPathHash)> { #[inline] fn heap_size_bytes(&self) -> u64 { self.heap_size_bytes