diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp index 4d829bdc4d8..ff72eccc6db 100644 --- a/src/devices/machine/netlist.cpp +++ b/src/devices/machine/netlist.cpp @@ -1364,7 +1364,7 @@ void netlist_mame_cpu_device::device_start() void netlist_mame_cpu_device::nl_register_devices(netlist::nlparse_t &parser) const { parser.factory().add( "NETDEV_CALLBACK", - netlist::factory::properties("-", std::move(PSOURCELOC()))); + netlist::factory::properties("-", PSOURCELOC())); } uint64_t netlist_mame_cpu_device::execute_clocks_to_cycles(uint64_t clocks) const noexcept @@ -1524,9 +1524,9 @@ void netlist_mame_sound_device::device_start() void netlist_mame_sound_device::nl_register_devices(netlist::nlparse_t &parser) const { parser.factory().add("NETDEV_SOUND_OUT", - netlist::factory::properties("+CHAN", std::move(PSOURCELOC()))); + netlist::factory::properties("+CHAN", PSOURCELOC())); parser.factory().add("NETDEV_SOUND_IN", - netlist::factory::properties("-", std::move(PSOURCELOC()))); + netlist::factory::properties("-", PSOURCELOC())); } void netlist_mame_sound_device::device_clock_changed()