mirror of https://github.com/libAthena/athena.git
nested type ordering fix
This commit is contained in:
parent
fa016115c2
commit
2b37765eff
|
@ -35,6 +35,8 @@ struct DNA
|
||||||
template <typename T, size_t cntVar, Endian VE = DNAE>
|
template <typename T, size_t cntVar, Endian VE = DNAE>
|
||||||
using Vector = std::vector<T>;
|
using Vector = std::vector<T>;
|
||||||
|
|
||||||
|
struct Delete {};
|
||||||
|
|
||||||
template <size_t sizeVar>
|
template <size_t sizeVar>
|
||||||
struct Buffer : public DNA, public std::unique_ptr<atUint8[]>
|
struct Buffer : public DNA, public std::unique_ptr<atUint8[]>
|
||||||
{
|
{
|
||||||
|
@ -104,8 +106,6 @@ struct DNA
|
||||||
template <size_t align>
|
template <size_t align>
|
||||||
struct Align {};
|
struct Align {};
|
||||||
|
|
||||||
struct Delete {};
|
|
||||||
|
|
||||||
virtual void read(IStreamReader&)=0;
|
virtual void read(IStreamReader&)=0;
|
||||||
virtual void write(IStreamWriter&) const=0;
|
virtual void write(IStreamWriter&) const=0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue