Skip to content

Commit

Permalink
fix MetadataRegistry not implementing SizeBytes... and deferring to a…
Browse files Browse the repository at this point in the history
…n awfully slow blanket impl!!!
  • Loading branch information
teh-cmc committed Dec 1, 2023
1 parent 981d157 commit 7603482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/re_arrow_store/src/store_stats.rs
Original file line number Diff line number Diff line change
@@ -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::{
Expand Down Expand Up @@ -183,7 +183,7 @@ impl SizeBytes for DataTypeRegistry {
}
}

impl SizeBytes for MetadataRegistry<TimePoint> {
impl SizeBytes for MetadataRegistry<(TimePoint, EntityPathHash)> {
#[inline]
fn heap_size_bytes(&self) -> u64 {
self.heap_size_bytes
Expand Down

0 comments on commit 7603482

Please sign in to comment.