diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-14 18:00:14 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-14 18:00:14 -0500 |
commit | 91cd805b786b440bc2c32651d8aec73ce96070f5 (patch) | |
tree | e8a6aa04f63826c58dbe0388f432a73bca48a35f /components/memberlist.hpp | |
parent | 927acfb9fe9232ae05cdae165393a60e9419d30f (diff) | |
download | abaddon-portaudio-91cd805b786b440bc2c32651d8aec73ce96070f5.tar.gz abaddon-portaudio-91cd805b786b440bc2c32651d8aec73ce96070f5.zip |
fix some crashes when switching to DM channels sometimes
Diffstat (limited to 'components/memberlist.hpp')
-rw-r--r-- | components/memberlist.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/memberlist.hpp b/components/memberlist.hpp index 5c8fc88..c35cda7 100644 --- a/components/memberlist.hpp +++ b/components/memberlist.hpp @@ -2,13 +2,14 @@ #include <gtkmm.h> #include <mutex> #include <unordered_map> +#include <optional> #include "../discord/discord.hpp" class LazyImage; class StatusIndicator; class MemberListUserRow : public Gtk::ListBoxRow { public: - MemberListUserRow(const GuildData& guild, const UserData *data); + MemberListUserRow(const GuildData *guild, const UserData &data); Snowflake ID; |