Skip to content

Commit eb6d708

Browse files
authored
Fix missed override in statnull.h (#1227)
1 parent 55e0541 commit eb6d708

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sst/core/statapi/statnull.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class NullStatisticBase<T, true> : public Statistic<T>
5151

5252
void addData_impl_Ntimes(uint64_t UNUSED(N), T UNUSED(data)) override {}
5353

54-
virtual const std::string& getStatTypeName() const { return stat_type_; }
54+
virtual const std::string& getStatTypeName() const override { return stat_type_; }
5555

5656
private:
5757
inline static const std::string stat_type_ = "NULL";
@@ -70,7 +70,7 @@ class NullStatisticBase<std::tuple<Args...>, false> : public Statistic<std::tupl
7070

7171
void addData_impl_Ntimes(uint64_t UNUSED(N), Args... UNUSED(data)) override {}
7272

73-
virtual const std::string& getStatTypeName() const { return stat_type_; }
73+
virtual const std::string& getStatTypeName() const override { return stat_type_; }
7474

7575
private:
7676
inline static const std::string stat_type_ = "NULL";
@@ -91,7 +91,7 @@ class NullStatisticBase<T, false> : public Statistic<T>
9191
void addData_impl_Ntimes(uint64_t UNUSED(N), T&& UNUSED(data)) override {}
9292
void addData_impl_Ntimes(uint64_t UNUSED(N), const T& UNUSED(data)) override {}
9393

94-
virtual const std::string& getStatTypeName() const { return stat_type_; }
94+
virtual const std::string& getStatTypeName() const override { return stat_type_; }
9595

9696
private:
9797
inline static const std::string stat_type_ = "NULL";
@@ -164,7 +164,7 @@ class NullStatistic<void> : public Statistic<void>
164164

165165
virtual std::string getELIName() const override { return "sst.NullStatistic"; }
166166

167-
virtual const std::string& getStatTypeName() const { return stat_type_; }
167+
virtual const std::string& getStatTypeName() const override { return stat_type_; }
168168

169169
private:
170170
inline static const std::string stat_type_ = "NULL";

0 commit comments

Comments
 (0)