cleanup code

This commit is contained in:
Dmitry Novik 2021-11-08 23:47:57 +03:00
parent 0cd858263f
commit f5a92c6f0b
2 changed files with 1 additions and 5 deletions

View File

@ -358,10 +358,6 @@ void increment(Event event, Count amount)
DB::CurrentThread::getProfileEvents().increment(event, amount);
}
CountersIncrement::CountersIncrement() noexcept
: increment_holder()
{}
CountersIncrement::CountersIncrement(Counters::Snapshot const & snapshot)
{
init();

View File

@ -117,7 +117,7 @@ namespace ProfileEvents
struct CountersIncrement
{
CountersIncrement() noexcept;
CountersIncrement() noexcept = default;
explicit CountersIncrement(Counters::Snapshot const & snapshot);
CountersIncrement(Counters::Snapshot const & after, Counters::Snapshot const & before);