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

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;
}; };