virtual dtro in Archive

This commit is contained in:
Joachim Schöberl 2018-03-15 19:00:50 +01:00
parent 98dab9ca7c
commit 73a5381d2e

View File

@ -11,6 +11,8 @@ namespace ngstd
bool is_output; bool is_output;
public: public:
Archive (bool ais_output) : is_output(ais_output) { ; } Archive (bool ais_output) : is_output(ais_output) { ; }
virtual ~Archive() { ; }
bool Output () { return is_output; } bool Output () { return is_output; }
bool Input () { return !is_output; } bool Input () { return !is_output; }