diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-10 03:33:39 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-03-10 03:33:39 -0500 |
commit | 35473b3bafbc9f25f3ecd29d1aa18b14ec420390 (patch) | |
tree | b9aeaff7e016934afb91e54f9110698366c03e56 /discord | |
parent | 1538e56052f607c0d3942a3613edcf735daef13c (diff) | |
download | abaddon-portaudio-35473b3bafbc9f25f3ecd29d1aa18b14ec420390.tar.gz abaddon-portaudio-35473b3bafbc9f25f3ecd29d1aa18b14ec420390.zip |
fix some memory safety things (thanks ASan)
Diffstat (limited to 'discord')
-rw-r--r-- | discord/objects.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/objects.hpp b/discord/objects.hpp index 5efd94c..713e4bd 100644 --- a/discord/objects.hpp +++ b/discord/objects.hpp @@ -121,6 +121,8 @@ struct MessageDeleteBulkData { struct GuildMemberListUpdateMessage { struct Item { + virtual ~Item() = default; + std::string Type; }; |