strat: compat with gcc 11
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
namespace ams::i2c::driver::board::nintendo::nx::impl {
|
||||
|
||||
class I2cBusAccessorManager : public IAllocator<I2cBusAccessor::BusAccessorList> {
|
||||
/* ... */
|
||||
public:
|
||||
using IAllocator<I2cBusAccessor::BusAccessorList>::IAllocator;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,8 @@
|
||||
namespace ams::i2c::driver::board::nintendo::nx::impl {
|
||||
|
||||
class I2cDevicePropertyManager : public IAllocator<I2cDeviceProperty::DevicePropertyList> {
|
||||
/* ... */
|
||||
public:
|
||||
using IAllocator<I2cDeviceProperty::DevicePropertyList>::IAllocator;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace ams::i2c::driver::board::nintendo::nx::impl {
|
||||
|
||||
template<typename ListType>
|
||||
class IAllocator {
|
||||
NON_COPYABLE(IAllocator);
|
||||
NON_MOVEABLE(IAllocator);
|
||||
private:
|
||||
using T = typename ListType::value_type;
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user