mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Remove unnecessary shared_from_this on instrument classes
This commit is contained in:
parent
99e64aa113
commit
2680bac480
3 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ private:
|
|||
|
||||
using CounterPtr = std::shared_ptr<Counter>;
|
||||
|
||||
class CounterFamily : public MetricFamily, public std::enable_shared_from_this<CounterFamily> {
|
||||
class CounterFamily : public MetricFamily {
|
||||
public:
|
||||
static inline const char* OpaqueName = "CounterMetricFamilyVal";
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ private:
|
|||
|
||||
using GaugePtr = std::shared_ptr<Gauge>;
|
||||
|
||||
class GaugeFamily : public MetricFamily, public std::enable_shared_from_this<GaugeFamily> {
|
||||
class GaugeFamily : public MetricFamily {
|
||||
public:
|
||||
static inline const char* OpaqueName = "GaugeMetricFamilyVal";
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ private:
|
|||
|
||||
using HistogramPtr = std::shared_ptr<Histogram>;
|
||||
|
||||
class HistogramFamily : public MetricFamily, public std::enable_shared_from_this<HistogramFamily> {
|
||||
class HistogramFamily : public MetricFamily {
|
||||
public:
|
||||
static inline const char* OpaqueName = "HistogramMetricFamilyVal";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue