diff --git a/src/ct/ct_actions_tree.cc b/src/ct/ct_actions_tree.cc index 76b6fd49c..df301db58 100644 --- a/src/ct/ct_actions_tree.cc +++ b/src/ct/ct_actions_tree.cc @@ -529,8 +529,8 @@ void CtActions::node_delete() std::function f_collect_ids_to_rm; std::list nodeIdsToRemove; std::list lstNodesWarn; - f_collect_ids_to_rm = [this, &ctTreeStore, &nodeIdsToRemove, &lstNodesWarn, f_collect_ids_to_rm](Gtk::TreeIter iter, - const int level) { + f_collect_ids_to_rm = [this, &ctTreeStore, &nodeIdsToRemove, &lstNodesWarn, &f_collect_ids_to_rm](Gtk::TreeIter iter, + const int level) { CtTreeIter ctTreeIter = ctTreeStore.to_ct_tree_iter(iter); nodeIdsToRemove.push_back(ctTreeIter.get_node_id()); if (lstNodesWarn.size() > 15) { diff --git a/src/ct/ct_storage_control.cc b/src/ct/ct_storage_control.cc index 9dbd98eaf..894bef66e 100644 --- a/src/ct/ct_storage_control.cc +++ b/src/ct/ct_storage_control.cc @@ -147,7 +147,7 @@ if (ctTreeStore.populate_shared_nodes_map(shared_nodes_map) > 0u) { std::function f_collect_ids_to_export; std::list nodeIdsToExport; - f_collect_ids_to_export = [&ctTreeStore, &nodeIdsToExport, f_collect_ids_to_export](Gtk::TreeIter iter) { + f_collect_ids_to_export = [&ctTreeStore, &nodeIdsToExport, &f_collect_ids_to_export](Gtk::TreeIter iter) { CtTreeIter ctTreeIter = ctTreeStore.to_ct_tree_iter(iter); nodeIdsToExport.push_back(ctTreeIter.get_node_id()); for (Gtk::TreeIter child : iter->children()) {