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