Merge pull request #54 from lioncash/override

DNA: Add missing override specifiers
This commit is contained in:
Phillip Stephens 2019-08-26 17:44:21 -07:00 committed by GitHub
commit 3f9177be15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -133,9 +133,9 @@ struct DNAV : DNA<DNAE> {
template <Endian DNAE> template <Endian DNAE>
struct DNAVYaml : DNAV<DNAE> { struct DNAVYaml : DNAV<DNAE> {
virtual ~DNAVYaml() = default; virtual ~DNAVYaml() = default;
virtual void read(athena::io::IStreamReader& r) = 0; void read(athena::io::IStreamReader& r) override = 0;
virtual void write(athena::io::IStreamWriter& w) const = 0; void write(athena::io::IStreamWriter& w) const override = 0;
virtual void binarySize(size_t& s) const = 0; void binarySize(size_t& s) const override = 0;
virtual void read(athena::io::YAMLDocReader& r) = 0; virtual void read(athena::io::YAMLDocReader& r) = 0;
virtual void write(athena::io::YAMLDocWriter& w) const = 0; virtual void write(athena::io::YAMLDocWriter& w) const = 0;
}; };