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:
@@ -231,7 +231,7 @@ void AutoReplaceWindow::onRemove(wxCommandEvent&) {
|
||||
list->removeSelected();
|
||||
}
|
||||
void AutoReplaceWindow::onAdd(wxCommandEvent&) {
|
||||
list->addItem(intrusive(new AutoReplace()));
|
||||
list->addItem(make_intrusive<AutoReplace>());
|
||||
}
|
||||
void AutoReplaceWindow::onDefault(wxCommandEvent&) {
|
||||
use_auto_replace->SetValue(true);
|
||||
|
||||
Reference in New Issue
Block a user