fix up a bunch of clang-tidy stuff

mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past
This commit is contained in:
ouwou
2022-04-05 22:01:53 -04:00
parent 9767e1e7fd
commit 49685c3989
75 changed files with 518 additions and 709 deletions

View File

@@ -209,10 +209,10 @@ struct Message {
void SetDeleted();
void SetEdited();
bool IsDeleted() const;
bool IsEdited() const;
[[nodiscard]] bool IsDeleted() const;
[[nodiscard]] bool IsEdited() const;
bool DoesMention(Snowflake id) const noexcept;
[[nodiscard]] bool DoesMention(Snowflake id) const noexcept;
private:
bool m_deleted = false;