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 {
251
251
testing::StrictMock<const MockNetworkDeviceIfc>& MockNetworkDevice () {
252
252
return mock_network_device_ifc_;
253
253
}
254
- testing::StrictMock<const MockEthernetImpl>& MockEthernet () { return mock_ethernet_impl_; }
254
+ testing::StrictMock<MockEthernetImpl>& MockEthernet () { return mock_ethernet_impl_; }
255
255
netdevice_migration::NetdeviceMigration& Device () { return *device_; }
256
256
netdevice_migration::NetdeviceMigration* TakeDevice () { return device_.release (); }
257
257
258
258
private:
259
259
const std::shared_ptr<MockDevice> parent_;
260
260
testing::StrictMock<const MockNetworkDeviceIfc> mock_network_device_ifc_;
261
- testing::StrictMock<const MockEthernetImpl> mock_ethernet_impl_;
261
+ testing::StrictMock<MockEthernetImpl> mock_ethernet_impl_;
262
262
std::unique_ptr<netdevice_migration::NetdeviceMigration> device_;
263
263
bool queued_rx_space_ = false ;
264
264
};
You can’t perform that action at this time.
0 commit comments