mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
cleanup code
This commit is contained in:
parent
0cd858263f
commit
f5a92c6f0b
@ -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();
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user