diff --git a/src/command/vis_tool.cpp b/src/command/vis_tool.cpp index c898d87f3..fcf02f492 100644 --- a/src/command/vis_tool.cpp +++ b/src/command/vis_tool.cpp @@ -63,8 +63,7 @@ namespace { } void operator()(agi::Context *c) override { - std::unique_ptr vclip = agi::make_unique(c->videoDisplay, c); - c->videoDisplay->SetTool(std::move(vclip)); + c->videoDisplay->SetTool(agi::make_unique(c->videoDisplay, c)); c->videoDisplay->SetVectorClipTool(M); } };