mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-02 07:39:49 -04:00
kern: refactor to use m_ for member variables
This commit is contained in:
parent
0bf2ade76f
commit
968f50bc07
135 changed files with 3727 additions and 3734 deletions
libraries/libmesosphere/include/mesosphere
|
@ -20,7 +20,7 @@ namespace ams::kern {
|
|||
|
||||
class KTimerTask : public util::IntrusiveRedBlackTreeBaseNode<KTimerTask> {
|
||||
private:
|
||||
s64 time;
|
||||
s64 m_time;
|
||||
public:
|
||||
static constexpr ALWAYS_INLINE int Compare(const KTimerTask &lhs, const KTimerTask &rhs) {
|
||||
if (lhs.GetTime() < rhs.GetTime()) {
|
||||
|
@ -30,14 +30,14 @@ namespace ams::kern {
|
|||
}
|
||||
}
|
||||
public:
|
||||
constexpr ALWAYS_INLINE KTimerTask() : time(0) { /* ... */ }
|
||||
constexpr ALWAYS_INLINE KTimerTask() : m_time(0) { /* ... */ }
|
||||
|
||||
constexpr ALWAYS_INLINE void SetTime(s64 t) {
|
||||
this->time = t;
|
||||
m_time = t;
|
||||
}
|
||||
|
||||
constexpr ALWAYS_INLINE s64 GetTime() const {
|
||||
return this->time;
|
||||
return m_time;
|
||||
}
|
||||
|
||||
virtual void OnTimer() = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue