[niepce] ui: fix an unused assignment
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [niepce] ui: fix an unused assignment
- Date: Mon, 31 Jul 2017 02:24:57 +0000 (UTC)
commit 3a2454d8af080cf8698b0f0301512402c9dd4b9b
Author: Hubert Figuière <hub figuiere net>
Date: Sun Jul 30 22:22:12 2017 -0400
ui: fix an unused assignment
src/niepce/ui/imageliststore.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/niepce/ui/imageliststore.cpp b/src/niepce/ui/imageliststore.cpp
index c5c1c28..c6ce1ec 100644
--- a/src/niepce/ui/imageliststore.cpp
+++ b/src/niepce/ui/imageliststore.cpp
@@ -107,8 +107,7 @@ void ImageListStore::on_lib_notification(const eng::LibNotification &ln)
// clear the map before the list.
m_idmap.clear();
clear();
- eng::LibFile::List::const_iterator iter = l->begin();
- for_each(l->begin(), l->end(),
+ for_each(l->cbegin(), l->cend(),
[this](const eng::LibFile::Ptr & f) {
Gtk::TreeModel::iterator riter = append();
Gtk::TreeRow row = *riter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]