strat: use m_ for member variables
This commit is contained in:
1 parent
ce28591ab2
commit
a595c232b9
425 files changed
+8531
-8484
No files matched your search
@@ -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