From 2b37765effa731d2b38da0fa4578c7be7edccaa5 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 30 Jun 2015 21:50:58 -0700 Subject: [PATCH] nested type ordering fix --- include/Athena/DNA.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Athena/DNA.hpp b/include/Athena/DNA.hpp index 415ca71..970d035 100644 --- a/include/Athena/DNA.hpp +++ b/include/Athena/DNA.hpp @@ -35,6 +35,8 @@ struct DNA template using Vector = std::vector; + struct Delete {}; + template struct Buffer : public DNA, public std::unique_ptr { @@ -104,8 +106,6 @@ struct DNA template struct Align {}; - struct Delete {}; - virtual void read(IStreamReader&)=0; virtual void write(IStreamWriter&) const=0; };