fix: -Wnon-virtual-dtor
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-02-03 01:11:39 +01:00
parent 8cafbc7706
commit baaf4f6db0
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,9 @@ public:
EntropySrc() = default;
EntropySrc(const EntropySrc&) = delete;
EntropySrc& operator=(const EntropySrc&) = delete;
~EntropySrc() noexcept = default;
protected:
virtual ~EntropySrc() noexcept = default;
};
} // namespace accumulator

View File

@ -9,6 +9,9 @@ namespace accumulator {
class EventAdder {
public:
virtual void add(const std::vector<char>& e) = 0;
protected:
virtual ~EventAdder() noexcept = default;
};
} // namespace accumulator