diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-24 02:43:27 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-24 02:43:27 -0400 |
commit | a8630f53b1b391cd2851955aa7585c53a996edd6 (patch) | |
tree | aa234ed30936e34bba962c0a1af9530c39d2fbb4 /discord/channel.hpp | |
parent | 83417819186394e8d840167841103211ebe5fe33 (diff) | |
download | abaddon-portaudio-a8630f53b1b391cd2851955aa7585c53a996edd6.tar.gz abaddon-portaudio-a8630f53b1b391cd2851955aa7585c53a996edd6.zip |
put PermissionOverwrite in the store where it belongs
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r-- | discord/channel.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 <optional> #include <string> #include <vector> @@ -39,5 +38,5 @@ struct Channel { friend void from_json(const nlohmann::json &j, Channel &m); - std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const; + const PermissionOverwrite *GetOverwrite(Snowflake id) const; }; |