[glom/gtkmm4v4: 20/37] gtkmm4: DialogExistingOrNew: const correction.



commit 38044e977511c2b5e6e70afeebd91fcc1c8de147
Author: Murray Cumming <murrayc murrayc com>
Date:   Tue Mar 14 10:10:40 2017 +0100

    gtkmm4: DialogExistingOrNew: const correction.
    
    The gtkmm4 TreeModel::iterator is now more strict.

 glom/dialog_existing_or_new.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/dialog_existing_or_new.cc b/glom/dialog_existing_or_new.cc
index 4969d66..3810e9d 100644
--- a/glom/dialog_existing_or_new.cc
+++ b/glom/dialog_existing_or_new.cc
@@ -736,7 +736,7 @@ void Dialog_ExistingOrNew::on_service_found(const Glib::ustring& name, EpcServic
 void Dialog_ExistingOrNew::on_service_removed(const Glib::ustring& name, const Glib::ustring& /* type */)
 {
   // Find the entry with the given name
-  const auto children = m_iter_existing_network->children();
+  auto children = m_iter_existing_network->children();
   for(auto iter = children.begin(); iter != children.end(); ++ iter)
   {
     auto& row = *iter;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]