From d25e770cd61188e14eaefb10994d877523e27421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 22 Feb 2021 21:13:16 +0200 Subject: [PATCH] Take self by mut ref --- src/dataset.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dataset.rs b/src/dataset.rs index e29a2d50..7934c2f5 100644 --- a/src/dataset.rs +++ b/src/dataset.rs @@ -326,7 +326,7 @@ impl Dataset { /// /// [`GDALBuildOverviews`]: https://gdal.org/doxygen/gdal_8h.html#a767f4456a6249594ee18ea53f68b7e80 pub fn build_overviews( - &self, + &mut self, resampling: &str, overviews: &[i32], bands: &[i32],