Skip to content

Commit 9a194b0

Browse files
stephenxsdaall
authored andcommitted
Fix the compiling errors in gcc9 (#1621)
1 parent fc06176 commit 9a194b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

orchagent/orch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ ref_resolve_status Orch::resolveFieldRefArray(
606606
SWSS_LOG_DEBUG("Resolved to sai_object:0x%" PRIx64 ", type:%s, name:%s", sai_obj, ref_type_name.c_str(), object_name.c_str());
607607
sai_object_arr.push_back(sai_obj);
608608
if (!object_name_list.empty())
609-
object_name_list += string(&list_item_delimiter);
609+
object_name_list += list_item_delimiter;
610610
object_name_list += ref_type_name + delimiter + object_name;
611611
}
612612
count++;

0 commit comments

Comments
 (0)