diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-23 20:34:09 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-23 20:34:09 -0500 |
commit | 0b8c83eaa1fdb0fcb610f9181145abde3d60d803 (patch) | |
tree | 9897253c0018fb89e2acdf5f3effe2a2e8b02294 /discord/channel.hpp | |
parent | deb482a8db55874a536b6efec366343280214e48 (diff) | |
download | abaddon-portaudio-0b8c83eaa1fdb0fcb610f9181145abde3d60d803.tar.gz abaddon-portaudio-0b8c83eaa1fdb0fcb610f9181145abde3d60d803.zip |
progress 2
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r-- | discord/channel.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/channel.hpp b/discord/channel.hpp index 845cffb..178f8b6 100644 --- a/discord/channel.hpp +++ b/discord/channel.hpp @@ -39,5 +39,5 @@ struct Channel { friend void from_json(const nlohmann::json &j, Channel &m); void update_from_json(const nlohmann::json &j); - const PermissionOverwrite *GetOverwrite(Snowflake id) const; + std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const; }; |