mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 11:38:20 +00:00
Add missing whitespaces for Zeek coding style
This commit is contained in:
parent
59d114005e
commit
83d7d2da4c
7 changed files with 21 additions and 23 deletions
|
@ -118,7 +118,6 @@ int64_t IntCounter::value() const noexcept
|
|||
|
||||
IntCounterFamily::IntCounterFamily(Impl* ptr) : MetricFamily(upcast(ptr))
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
IntCounter IntCounterFamily::getOrAdd(Span<const LabelView> labels)
|
||||
|
@ -149,7 +148,6 @@ double DblCounter::value() const noexcept
|
|||
|
||||
DblCounterFamily::DblCounterFamily(Impl* ptr) : MetricFamily(upcast(ptr))
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
DblCounter DblCounterFamily::getOrAdd(Span<const LabelView> labels)
|
||||
|
|
|
@ -61,7 +61,6 @@ public:
|
|||
private:
|
||||
explicit IntCounter(Impl* ptr) noexcept : pimpl(ptr)
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
Impl* pimpl;
|
||||
|
@ -154,7 +153,6 @@ public:
|
|||
private:
|
||||
explicit DblCounter(Impl* ptr) noexcept : pimpl(ptr)
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
Impl* pimpl;
|
||||
|
|
|
@ -133,7 +133,6 @@ int64_t IntGauge::value() const noexcept
|
|||
|
||||
IntGaugeFamily::IntGaugeFamily(Impl* ptr) : MetricFamily(upcast(ptr))
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
IntGauge IntGaugeFamily::getOrAdd(Span<const LabelView> labels)
|
||||
|
@ -174,7 +173,6 @@ double DblGauge::value() const noexcept
|
|||
|
||||
DblGaugeFamily::DblGaugeFamily(Impl* ptr) : MetricFamily(upcast(ptr))
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
DblGauge DblGaugeFamily::getOrAdd(Span<const LabelView> labels)
|
||||
|
|
|
@ -77,7 +77,6 @@ public:
|
|||
private:
|
||||
explicit IntGauge(Impl* ptr) noexcept : pimpl(ptr)
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
Impl* pimpl;
|
||||
|
@ -180,7 +179,6 @@ public:
|
|||
private:
|
||||
explicit DblGauge(Impl* ptr) noexcept : pimpl(ptr)
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
Impl* pimpl;
|
||||
|
|
|
@ -81,6 +81,10 @@ auto withNative(Span<const std::string_view> xs, F continuation)
|
|||
|
||||
} // namespace
|
||||
|
||||
Manager::~Manager()
|
||||
{
|
||||
}
|
||||
|
||||
IntCounterFamily Manager::intCounterFam(std::string_view prefix,
|
||||
std::string_view name,
|
||||
Span<const std::string_view> labels,
|
||||
|
|
|
@ -22,13 +22,14 @@ public:
|
|||
|
||||
explicit Manager(Impl* ptr) : pimpl(ptr)
|
||||
{
|
||||
//nop
|
||||
}
|
||||
|
||||
Manager(const Manager&) = delete;
|
||||
|
||||
Manager& operator=(const Manager&) = delete;
|
||||
|
||||
virtual ~Manager();
|
||||
|
||||
/**
|
||||
* @returns a counter metric family. Creates the family lazily if necessary.
|
||||
* @param prefix The prefix (namespace) this family belongs to.
|
||||
|
@ -275,6 +276,8 @@ private:
|
|||
|
||||
namespace zeek {
|
||||
|
||||
// @note for technically reasons (CAF dependency), this variable gets
|
||||
// initialized in broker/Manager.cc.
|
||||
extern telemetry::Manager* telemetry_mgr;
|
||||
|
||||
} // namespace zeek
|
||||
|
|
|
@ -68,7 +68,6 @@ public:
|
|||
protected:
|
||||
explicit MetricFamily(Impl* ptr) : pimpl(ptr)
|
||||
{
|
||||
// nop
|
||||
}
|
||||
|
||||
Impl* pimpl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue