Skip to content

Commit

Permalink
lint: Fix Library/LiveActor/SubActorKeeper.h (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
GRAnimated authored Jun 5, 2024
1 parent 05fd719 commit ce4f31b
Showing 1 changed file with 33 additions and 11 deletions.
44 changes: 33 additions & 11 deletions lib/al/include/Library/LiveActor/SubActorKeeper.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,39 @@ public:
CLASS(const CLASS& c) : m_value(c.m_value) {} \
CLASS(s32 i) : m_value(i) {} \
CLASS(Enum e) : m_value(e) {} \
operator s32() const { return m_value; } \
bool operator==(const CLASS& c) const { return m_value == c.m_value; } \
bool operator==(const Enum& e) const { return m_value == e; } \
bool operator!=(const CLASS& c) const { return m_value != c.m_value; } \
bool operator!=(const Enum& e) const { return m_value != e; } \
CLASS operator|(const CLASS& c) const { return CLASS(m_value | c.m_value); } \
CLASS operator|(const Enum& e) const { return CLASS(m_value | e); } \
CLASS operator&(const CLASS& c) const { return CLASS(m_value & c.m_value); } \
CLASS operator&(const Enum& e) const { return CLASS(m_value & e); } \
CLASS operator^(const CLASS& c) const { return CLASS(m_value ^ c.m_value); } \
CLASS operator^(const Enum& e) const { return CLASS(m_value ^ e); } \
operator s32() const { \
return m_value; \
} \
bool operator==(const CLASS& c) const { \
return m_value == c.m_value; \
} \
bool operator==(const Enum& e) const { \
return m_value == e; \
} \
bool operator!=(const CLASS& c) const { \
return m_value != c.m_value; \
} \
bool operator!=(const Enum& e) const { \
return m_value != e; \
} \
CLASS operator|(const CLASS& c) const { \
return CLASS(m_value | c.m_value); \
} \
CLASS operator|(const Enum& e) const { \
return CLASS(m_value | e); \
} \
CLASS operator&(const CLASS& c) const { \
return CLASS(m_value & c.m_value); \
} \
CLASS operator&(const Enum& e) const { \
return CLASS(m_value & e); \
} \
CLASS operator^(const CLASS& c) const { \
return CLASS(m_value ^ c.m_value); \
} \
CLASS operator^(const Enum& e) const { \
return CLASS(m_value ^ e); \
} \
CLASS& operator|=(const CLASS& c) { \
m_value |= c.m_value; \
return *this; \
Expand Down

0 comments on commit ce4f31b

Please sign in to comment.