strat: use m_ for member variables
This commit is contained in:
@@ -25,12 +25,12 @@ namespace ams::pwm::driver {
|
||||
NON_MOVEABLE(IPwmDevice);
|
||||
AMS_DDSF_CASTABLE_TRAITS(ams::pwm::driver::IPwmDevice, ::ams::ddsf::IDevice);
|
||||
private:
|
||||
int channel_index;
|
||||
int m_channel_index;
|
||||
public:
|
||||
IPwmDevice(int id) : IDevice(false), channel_index(id) { /* ... */ }
|
||||
IPwmDevice(int id) : IDevice(false), m_channel_index(id) { /* ... */ }
|
||||
virtual ~IPwmDevice() { /* ... */ }
|
||||
|
||||
constexpr int GetChannelIndex() const { return this->channel_index; }
|
||||
constexpr int GetChannelIndex() const { return m_channel_index; }
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user