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() = default;
|
||||||
EntropySrc(const EntropySrc&) = delete;
|
EntropySrc(const EntropySrc&) = delete;
|
||||||
EntropySrc& operator=(const EntropySrc&) = delete;
|
EntropySrc& operator=(const EntropySrc&) = delete;
|
||||||
~EntropySrc() noexcept = default;
|
|
||||||
|
protected:
|
||||||
|
virtual ~EntropySrc() noexcept = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace accumulator
|
} // namespace accumulator
|
||||||
|
|
|
@ -9,6 +9,9 @@ namespace accumulator {
|
||||||
class EventAdder {
|
class EventAdder {
|
||||||
public:
|
public:
|
||||||
virtual void add(const std::vector<char>& e) = 0;
|
virtual void add(const std::vector<char>& e) = 0;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual ~EventAdder() noexcept = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace accumulator
|
} // namespace accumulator
|
||||||
|
|
Loading…
Reference in New Issue