mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-03 08:08:39 -04:00
strat: compat with gcc 11
This commit is contained in:
parent
4f16106702
commit
21f3d29df7
11 changed files with 26 additions and 21 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue