Merge pull request #1106 from jevolk/master

Fix multiple weak symbols from private object destructor (-Wstringop-…
This commit is contained in:
DeepBlueV7.X 2022-06-23 22:19:45 +00:00 committed by GitHub
commit f189fbc98d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -53,6 +53,8 @@ public:
private: private:
struct Entry struct Entry
{ {
~Entry() = default;
std::string type; std::string type;
mtx::events::state::power_level_t pl; mtx::events::state::power_level_t pl;
}; };
@ -102,6 +104,8 @@ public:
private: private:
struct Entry struct Entry
{ {
~Entry() = default;
std::string mxid; std::string mxid;
mtx::events::state::power_level_t pl; mtx::events::state::power_level_t pl;
}; };