From 49685c39895af67d7ffcc50fdc02150b6ee44f72 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:01:53 -0400 Subject: 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 --- src/discord/message.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/discord/message.hpp') diff --git a/src/discord/message.hpp b/src/discord/message.hpp index 244b572..4e332b6 100644 --- a/src/discord/message.hpp +++ b/src/discord/message.hpp @@ -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; -- cgit v1.2.3