mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-24 20:18:53 +03:00
Fix multiple weak symbols from private object destructor (-Wstringop-overflow).
This commit is contained in:
parent
723a06d44a
commit
a7ee6e96ba
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue