This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
fortuna/event_adder.h
surtur baaf4f6db0
All checks were successful
continuous-integration/drone/push Build is passing
fix: -Wnon-virtual-dtor
2022-02-03 01:11:39 +01:00

20 lines
344 B
C++

#ifndef FORTUNA_EVENT_ADDER_H
#define FORTUNA_EVENT_ADDER_H
#include <vector>
namespace fortuna {
namespace accumulator {
class EventAdder {
public:
virtual void add(const std::vector<char>& e) = 0;
protected:
virtual ~EventAdder() noexcept = default;
};
} // namespace accumulator
} // namespace fortuna
#endif // FORTUNA_EVENT_ADDER_H