Skip to content

Commit ae8a3ac

Browse files
committed
drt: use move instead of copy
Signed-off-by: Peter Gadfort <[email protected]>
1 parent 348831a commit ae8a3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/drt/src/dr/FlexDR_graphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ gui::Descriptor::Properties GridGraphDescriptor::getProperties(
134134
}
135135

136136
if (!graph->hasEdge(x, y, z, dir)) {
137-
props.push_back({name, "<none>"});
137+
props.push_back({std::move(name), "<none>"});
138138
continue;
139139
}
140140

0 commit comments

Comments
 (0)