@@ -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
5656private:
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
7575private:
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
9696private:
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
169169private:
170170 inline static const std::string stat_type_ = " NULL" ;
0 commit comments