From b62ddd39dc14727a317e0daf82c702484bb110b4 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Thu, 26 Sep 2024 00:47:32 +0800 Subject: [PATCH] fix an import error made earlier --- martin/src/args/root.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/martin/src/args/root.rs b/martin/src/args/root.rs index 6a07a98c6..ac3e5c41c 100644 --- a/martin/src/args/root.rs +++ b/martin/src/args/root.rs @@ -1,4 +1,3 @@ -use std::collections::BTreeMap; use std::path::PathBuf; use clap::Parser; @@ -10,7 +9,6 @@ use crate::args::srv::SrvArgs; use crate::config::Config; #[cfg(any(feature = "mbtiles", feature = "pmtiles", feature = "sprites"))] use crate::file_config::FileConfigEnum; -use crate::sprites::SpriteConfig; use crate::MartinError::ConfigAndConnectionsError; use crate::{MartinResult, OptOneMany}; @@ -119,8 +117,8 @@ impl Args { if !self.extras.sprite.is_empty() { config.sprites = FileConfigEnum::new_extended( self.extras.sprite, - BTreeMap::new(), - SpriteConfig { + std::collections::BTreeMap::new(), + crate::sprites::SpriteConfig { make_sdf: self.extras.make_sdf, ..Default::default() },