mirror of https://github.com/odrling/Aegisub
Clean up pointer code
The previous one was remnant of scrapped code.
This commit is contained in:
parent
eb07b3f9b8
commit
7ea9b95fe0
|
@ -63,8 +63,7 @@ namespace {
|
||||||
}
|
}
|
||||||
|
|
||||||
void operator()(agi::Context *c) override {
|
void operator()(agi::Context *c) override {
|
||||||
std::unique_ptr<VisualToolVectorClip> vclip = agi::make_unique<VisualToolVectorClip>(c->videoDisplay, c);
|
c->videoDisplay->SetTool(agi::make_unique<VisualToolVectorClip>(c->videoDisplay, c));
|
||||||
c->videoDisplay->SetTool(std::move(vclip));
|
|
||||||
c->videoDisplay->SetVectorClipTool(M);
|
c->videoDisplay->SetVectorClipTool(M);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue