mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Use make_intrusive/make_shared for smart pointer construction.
This commit is contained in:
@@ -65,7 +65,7 @@ void CLISetInterface::setExportInfoCwd() {
|
||||
// write to the current directory
|
||||
ei.directory_relative = ei.directory_absolute = wxGetCwd();
|
||||
// read from the current directory
|
||||
ei.export_template = intrusive(new Package());
|
||||
ei.export_template = make_intrusive<Package>();
|
||||
ei.export_template->open(ei.directory_absolute, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user