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

pull/1106/head
Jason Volk 2 years ago
parent 723a06d44a
commit a7ee6e96ba
  1. 4
      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;
};

Loading…
Cancel
Save