Fix multiple weak symbols from private object destructor (-Wstringop-overflow).

This commit is contained in:
Jason Volk 2022-06-23 12:48:44 -07:00
parent 723a06d44a
commit a7ee6e96ba

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