forked from ak-fortuna/fortuna
fix: -Wnon-virtual-dtor
This commit is contained in:
parent
8cafbc7706
commit
baaf4f6db0
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue