summary refs log tree commit diff
path: root/src/PowerlevelsEditModels.h
diff options
context:
space:
mode:
authorJason Volk <jason@zemos.net>2022-06-23 12:48:44 -0700
committerJason Volk <jason@zemos.net>2022-06-23 12:48:44 -0700
commita7ee6e96ba4d812bf62e0f2b507af611ae9e97fd (patch)
tree28b080995475299fde8f56ab43eaf79add14bd0b /src/PowerlevelsEditModels.h
parentTranslated using Weblate (Estonian) (diff)
downloadnheko-a7ee6e96ba4d812bf62e0f2b507af611ae9e97fd.tar.xz
Fix multiple weak symbols from private object destructor (-Wstringop-overflow).
Diffstat (limited to 'src/PowerlevelsEditModels.h')
-rw-r--r--src/PowerlevelsEditModels.h4
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;
     };