diff options
Diffstat (limited to 'src/lib/netlist/plib/pstate.cpp')
-rw-r--r-- | src/lib/netlist/plib/pstate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pstate.cpp b/src/lib/netlist/plib/pstate.cpp index aa5d7b7bae2..095c8c812be 100644 --- a/src/lib/netlist/plib/pstate.cpp +++ b/src/lib/netlist/plib/pstate.cpp @@ -36,7 +36,7 @@ ATTR_COLD void pstate_manager_t::save_state_ptr(const pstring &stname, const pst "DT_FLOAT" }; - auto p = std::make_unique<pstate_entry_t>(stname, dt, owner, size, count, ptr, is_ptr); + auto p = pmake_unique<pstate_entry_t>(stname, dt, owner, size, count, ptr, is_ptr); m_save.push_back(std::move(p)); } @@ -70,7 +70,7 @@ template<> ATTR_COLD void pstate_manager_t::save_item(pstate_callback_t &state, { //save_state_ptr(stname, DT_CUSTOM, 0, 1, &state); pstate_callback_t *state_p = &state; - auto p = std::make_unique<pstate_entry_t>(stname, owner, state_p); + auto p = pmake_unique<pstate_entry_t>(stname, owner, state_p); m_save.push_back(std::move(p)); state.register_state(*this, stname); } |