Skip to content

Commit 47a8e7b

Browse files
committed
drt: dont use move with const &
Signed-off-by: Peter Gadfort <[email protected]>
1 parent ae8a3ac commit 47a8e7b

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
@@ -68,7 +68,7 @@ void GridGraphDescriptor::highlight(const std::any& object,
6868
gui::Painter& painter) const
6969
{
7070
odb::Rect bbox;
71-
getBBox(std::move(object), bbox);
71+
getBBox(object, bbox);
7272
auto x = bbox.xMin();
7373
auto y = bbox.yMin();
7474
bbox.init(x - 20, y - 20, x + 20, y + 20);

0 commit comments

Comments
 (0)