From a8630f53b1b391cd2851955aa7585c53a996edd6 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 24 Sep 2020 02:43:27 -0400 Subject: put PermissionOverwrite in the store where it belongs --- discord/channel.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'discord/channel.hpp') diff --git a/discord/channel.hpp b/discord/channel.hpp index 9d876e3..7f2bcd0 100644 --- a/discord/channel.hpp +++ b/discord/channel.hpp @@ -3,7 +3,6 @@ #include "json.hpp" #include "user.hpp" #include "permissions.hpp" -#include #include #include @@ -39,5 +38,5 @@ struct Channel { friend void from_json(const nlohmann::json &j, Channel &m); - std::optional GetOverwrite(Snowflake id) const; + const PermissionOverwrite *GetOverwrite(Snowflake id) const; }; -- cgit v1.2.3