Skip to content

Commit b982a27

Browse files
committed
bugfix: Define default virtual StatsInterface destructor
1 parent e3180ef commit b982a27

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pisa/util/json_stats.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ namespace pisa {
2525
namespace detail {
2626
class StatsInterface {
2727
public:
28+
virtual ~StatsInterface() = default;
2829
virtual void add(std::string const& key, bool value) = 0;
2930
virtual void add(std::string const& key, std::int64_t value) = 0;
3031
virtual void add(std::string const& key, std::uint64_t value) = 0;

0 commit comments

Comments
 (0)