nested type ordering fix

This commit is contained in:
Jack Andersen 2015-06-30 21:50:58 -07:00
parent fa016115c2
commit 2b37765eff
1 changed files with 2 additions and 2 deletions

View File

@ -35,6 +35,8 @@ struct DNA
template <typename T, size_t cntVar, Endian VE = DNAE>
using Vector = std::vector<T>;
struct Delete {};
template <size_t sizeVar>
struct Buffer : public DNA, public std::unique_ptr<atUint8[]>
{
@ -104,8 +106,6 @@ struct DNA
template <size_t align>
struct Align {};
struct Delete {};
virtual void read(IStreamReader&)=0;
virtual void write(IStreamWriter&) const=0;
};