forked from mia/Aegisub
Clean up pointer code
The previous one was remnant of scrapped code.
This commit is contained in:
parent
eb07b3f9b8
commit
7ea9b95fe0
1 changed files with 1 additions and 2 deletions
|
@ -63,8 +63,7 @@ namespace {
|
|||
}
|
||||
|
||||
void operator()(agi::Context *c) override {
|
||||
std::unique_ptr<VisualToolVectorClip> vclip = agi::make_unique<VisualToolVectorClip>(c->videoDisplay, c);
|
||||
c->videoDisplay->SetTool(std::move(vclip));
|
||||
c->videoDisplay->SetTool(agi::make_unique<VisualToolVectorClip>(c->videoDisplay, c));
|
||||
c->videoDisplay->SetVectorClipTool(M);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue