take care of some warnings

Fixes #223

(cherry picked from commit f5bc793aa1efcba183602de3eec4746f4da3db8e)
This commit is contained in:
Alberto Griggio
2021-12-05 20:42:28 +01:00
committed by Lawrence Lee
parent b409e0bab2
commit 09d72259e3

View File

@@ -90,7 +90,7 @@ private:
Glib::TimeVal image_mtime;
Glib::TimeVal xmp_mtime;
bool use_xmp;
CacheVal() = default;
CacheVal(): image(nullptr), image_mtime(), xmp_mtime(), use_xmp(false) {}
};
//typedef std::pair<std::shared_ptr<Exiv2::Image>, Glib::TimeVal> CacheVal;
typedef Cache<Glib::ustring, CacheVal> ImageCache;