mirror of
https://github.com/matrix-construct/construct
synced 2024-11-18 07:50:57 +01:00
ircd: Fix -Wdeprecated-copy-with-user-provided-dtor or remove empty dtors.
This commit is contained in:
parent
d28d3d8084
commit
b93348f6e1
4 changed files with 3 additions and 19 deletions
|
@ -36,8 +36,10 @@ struct ircd::db::database::snapshot
|
|||
explicit operator bool() const;
|
||||
bool operator !() const;
|
||||
|
||||
explicit snapshot(database &);
|
||||
snapshot() = default;
|
||||
explicit snapshot(database &);
|
||||
snapshot(const snapshot &) = default;
|
||||
snapshot &operator=(const snapshot &) = default;
|
||||
~snapshot() noexcept;
|
||||
};
|
||||
|
||||
|
|
|
@ -45,5 +45,4 @@ struct ircd::prof::system
|
|||
|
||||
system(sample_t) noexcept;
|
||||
system() :array_type{{{0}}} {}
|
||||
~system() noexcept;
|
||||
};
|
||||
|
|
|
@ -336,11 +336,6 @@ noexcept
|
|||
start(group);
|
||||
}
|
||||
|
||||
ircd::prof::system::~system()
|
||||
noexcept
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
create(system::group, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK, true, false);
|
||||
create(system::group, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_CPU_CLOCK, false, true);
|
||||
|
|
|
@ -27,7 +27,6 @@ ircd::string_separator
|
|||
void reset() noexcept;
|
||||
|
||||
string_separator(const string_view &delim) noexcept;
|
||||
~string_separator() noexcept;
|
||||
};
|
||||
|
||||
struct [[gnu::visibility("internal")]]
|
||||
|
@ -41,7 +40,6 @@ ircd::char_separator
|
|||
void reset() noexcept;
|
||||
|
||||
char_separator(const char &delim) noexcept;
|
||||
~char_separator() noexcept;
|
||||
};
|
||||
|
||||
//
|
||||
|
@ -517,11 +515,6 @@ noexcept
|
|||
{
|
||||
}
|
||||
|
||||
ircd::string_separator::~string_separator()
|
||||
noexcept
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ircd::string_separator::reset()
|
||||
noexcept
|
||||
|
@ -570,11 +563,6 @@ noexcept
|
|||
{
|
||||
}
|
||||
|
||||
ircd::char_separator::~char_separator()
|
||||
noexcept
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
ircd::char_separator::reset()
|
||||
noexcept
|
||||
|
|
Loading…
Reference in a new issue