Skip to content

Commit 1438a70

Browse files
authored
Fix the compiling errors in gcc9 (sonic-net#1621)
1 parent 0b0d24c commit 1438a70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/orch.cpp

+1-1
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)