Skip to content

Commit 9302808

Browse files
authored
Merge pull request #8911 from The-OpenROAD-Project-staging/gpl-coverity-move
gpl: fix coverity USE_AFTER_MOVE
2 parents 2c4588b + f5765ae commit 9302808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpl/src/replace.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ void Replace::setDebug(const int pause_iterations,
364364
gui_debug_inst_ = inst;
365365
gui_debug_start_iter_ = start_iter;
366366
gui_debug_generate_images_ = generate_images;
367-
gui_debug_images_path_ = std::move(images_path);
367+
gui_debug_images_path_ = images_path;
368368
}
369369

370370
void PlaceOptions::validate(utl::Logger* logger)

0 commit comments

Comments
 (0)