diff options
author | Jason Volk <jason@zemos.net> | 2022-06-23 12:48:44 -0700 |
---|---|---|
committer | Jason Volk <jason@zemos.net> | 2022-06-23 12:48:44 -0700 |
commit | a7ee6e96ba4d812bf62e0f2b507af611ae9e97fd (patch) | |
tree | 28b080995475299fde8f56ab43eaf79add14bd0b /src/PowerlevelsEditModels.h | |
parent | Translated using Weblate (Estonian) (diff) | |
download | nheko-a7ee6e96ba4d812bf62e0f2b507af611ae9e97fd.tar.xz |
Fix multiple weak symbols from private object destructor (-Wstringop-overflow).
Diffstat (limited to 'src/PowerlevelsEditModels.h')
-rw-r--r-- | src/PowerlevelsEditModels.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PowerlevelsEditModels.h b/src/PowerlevelsEditModels.h index 7bc797ea..37a9bcb7 100644 --- a/src/PowerlevelsEditModels.h +++ b/src/PowerlevelsEditModels.h @@ -53,6 +53,8 @@ public: private: struct Entry { + ~Entry() = default; + std::string type; mtx::events::state::power_level_t pl; }; @@ -102,6 +104,8 @@ public: private: struct Entry { + ~Entry() = default; + std::string mxid; mtx::events::state::power_level_t pl; }; |