Skip to content

Commit 5695b4c

Browse files
authored
Remove redundant std::move() calls which have no effect (#1526)
1 parent 3fe2541 commit 5695b4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sst/core/componentInfo.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ ComponentInfo::ComponentInfo(
157157
ComponentInfo::ComponentInfo(ComponentInfo&& o) :
158158
id_(o.id_),
159159
parent_info(o.parent_info),
160-
name(std::move(o.name)),
161-
type(std::move(o.type)),
160+
name(o.name),
161+
type(o.type),
162162
link_map(o.link_map),
163163
component(o.component),
164164
subComponents(std::move(o.subComponents)),
@@ -170,7 +170,7 @@ ComponentInfo::ComponentInfo(ComponentInfo&& o) :
170170
statLoadLevel(o.statLoadLevel),
171171
coordinates(std::move(o.coordinates)),
172172
subIDIndex(o.subIDIndex),
173-
slot_name(std::move(o.slot_name)),
173+
slot_name(o.slot_name),
174174
slot_num(o.slot_num),
175175
share_flags(o.share_flags)
176176
{

0 commit comments

Comments
 (0)