osaf/services/saf/amf/amfd/nodegroup.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/osaf/services/saf/amf/amfd/nodegroup.cc
b/osaf/services/saf/amf/amfd/nodegroup.cc
--- a/osaf/services/saf/amf/amfd/nodegroup.cc
+++ b/osaf/services/saf/amf/amfd/nodegroup.cc
@@ -879,8 +879,8 @@
if (iter1 != tmp_sg_list.end())
continue;
- AVD_SU *su = sg->list_of_su;
- for (su_try_inst = 0; su != NULL; su =
su->sg_list_su_next) {
+ su_try_inst = 0;
+ for (const auto& su : sg->list_of_su) {
//Continue if this SU is not hosted on the Node
of NG.
if
(node_in_nodegroup(Amf::to_string(&su->su_on_node->name), ng) == false)
continue;
------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel