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/objects.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/discord/objects.hpp') diff --git a/src/discord/objects.hpp b/src/discord/objects.hpp index 27542cc..db5fd76 100644 --- a/src/discord/objects.hpp +++ b/src/discord/objects.hpp @@ -197,7 +197,7 @@ struct GuildMemberListUpdateMessage { std::string HoistedRole; // null bool IsDefeaned; - GuildMember GetAsMemberData() const; + [[nodiscard]] GuildMember GetAsMemberData() const; friend void from_json(const nlohmann::json &j, MemberItem &m); -- cgit v1.2.3