summaryrefslogtreecommitdiffstats
path: root/lib/entry/libimagentrygps/src/entry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/entry/libimagentrygps/src/entry.rs')
-rw-r--r--lib/entry/libimagentrygps/src/entry.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/entry/libimagentrygps/src/entry.rs b/lib/entry/libimagentrygps/src/entry.rs
index 37acb075..d6eb4be7 100644
--- a/lib/entry/libimagentrygps/src/entry.rs
+++ b/lib/entry/libimagentrygps/src/entry.rs
@@ -102,6 +102,7 @@ impl GPSEntry for Entry {
#[cfg(test)]
mod tests {
use std::path::PathBuf;
+ use std::sync::Arc;
use libimagstore::store::Store;
@@ -113,7 +114,7 @@ mod tests {
fn get_store() -> Store {
use libimagstore::file_abstraction::InMemoryFileAbstraction;
- let backend = Box::new(InMemoryFileAbstraction::default());
+ let backend = Arc::new(InMemoryFileAbstraction::default());
Store::new_with_backend(PathBuf::from("/"), &None, backend).unwrap()
}