From: Arvin Schnell Date: Mon, 30 Sep 2013 12:59:14 +0000 (+0200) Subject: - fixed compilation with very old std c++ X-Git-Tag: v0.1.7~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27fb26edf159b350fe66a5a905017fe3222ba555;p=thirdparty%2Fsnapper.git - fixed compilation with very old std c++ --- diff --git a/snapper/LvmCache.cc b/snapper/LvmCache.cc index 9bcabb9c..50e1db00 100644 --- a/snapper/LvmCache.cc +++ b/snapper/LvmCache.cc @@ -307,8 +307,7 @@ namespace snapper { boost::upgrade_lock upg_lock(vg_mutex); - const_iterator cit = lv_info_map.find(lv_name); - + iterator cit = lv_info_map.find(lv_name); if (cit == lv_info_map.end()) { y2err("lvm cache: " << vg_name << "/" << lv_name << " is not in cache!");