diff options
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r-- | ethernet_interface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp index 51eaf85..35e61a7 100644 --- a/ethernet_interface.cpp +++ b/ethernet_interface.cpp @@ -93,7 +93,7 @@ void EthernetInterface::createIPAddressObjects() gateway); this->addrs.emplace( - std::move(addr.ipaddress), + addr.ipaddress, std::make_shared<phosphor::network::IPAddress>( bus, ipAddressObjectPath.c_str(), @@ -158,7 +158,7 @@ void EthernetInterface::iP(IP::Protocol protType, prefixLength, gateway); this->addrs.emplace( - std::move(ipaddress), + ipaddress, std::make_shared<phosphor::network::IPAddress>( bus, objectPath.c_str(), |