Skip to content

Commit

Permalink
remove unnecessary methods
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoljub-duric committed Jul 20, 2023
1 parent 4e3f4ae commit 1bda820
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/memory_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,11 +216,6 @@ impl<M: Memory> MemoryManager<M> {
}
}

#[cfg(test)]
pub fn init_v1(memory: M) -> Self {
Self::init_with_bucket_size_v1(memory, BUCKET_SIZE_IN_PAGES as u16)
}

/// Returns the memory associated with the given ID.
pub fn get(&self, id: MemoryId) -> VirtualMemory<M> {
VirtualMemory {
Expand Down

0 comments on commit 1bda820

Please sign in to comment.