File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/connectivity/ethernet/drivers/ethernet/netdevice-migration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,14 +251,14 @@ class NetdeviceMigrationTest : public ::testing::Test {
251251 testing::StrictMock<const MockNetworkDeviceIfc>& MockNetworkDevice () {
252252 return mock_network_device_ifc_;
253253 }
254- testing::StrictMock<const MockEthernetImpl>& MockEthernet () { return mock_ethernet_impl_; }
254+ testing::StrictMock<MockEthernetImpl>& MockEthernet () { return mock_ethernet_impl_; }
255255 netdevice_migration::NetdeviceMigration& Device () { return *device_; }
256256 netdevice_migration::NetdeviceMigration* TakeDevice () { return device_.release (); }
257257
258258 private:
259259 const std::shared_ptr<MockDevice> parent_;
260260 testing::StrictMock<const MockNetworkDeviceIfc> mock_network_device_ifc_;
261- testing::StrictMock<const MockEthernetImpl> mock_ethernet_impl_;
261+ testing::StrictMock<MockEthernetImpl> mock_ethernet_impl_;
262262 std::unique_ptr<netdevice_migration::NetdeviceMigration> device_;
263263 bool queued_rx_space_ = false ;
264264};
You can’t perform that action at this time.
0 commit comments