]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- use C++11 syntax 415/head
authorArvin Schnell <aschnell@suse.de>
Tue, 24 Jul 2018 08:57:24 +0000 (10:57 +0200)
committerArvin Schnell <aschnell@suse.de>
Tue, 24 Jul 2018 08:57:24 +0000 (10:57 +0200)
server/MetaSnapper.cc

index f9b104afce2372d876b058577f1ee21de6150d8f..2dcc8624bc47fb4ecf3947693974705059de0599 100644 (file)
@@ -203,8 +203,8 @@ MetaSnappers::init()
 void
 MetaSnappers::unload()
 {
-    for (iterator it = entries.begin(); it != entries.end(); ++it)
-       it->unload();
+    for (MetaSnapper& meta_snapper : entries)
+       meta_snapper.unload();
 }