]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- fixed compilation with very old std c++
authorArvin Schnell <aschnell@suse.de>
Mon, 30 Sep 2013 12:59:14 +0000 (14:59 +0200)
committerArvin Schnell <aschnell@suse.de>
Mon, 30 Sep 2013 12:59:14 +0000 (14:59 +0200)
snapper/LvmCache.cc

index 9bcabb9c805de19ae4bf3e6e98f46a192016ba9f..50e1db00403d8abc6b9a71e5f341b3c5da5c6d77 100644 (file)
@@ -307,8 +307,7 @@ namespace snapper
     {
        boost::upgrade_lock<boost::shared_mutex> 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!");