diff --git a/hecl/include/hecl/TypedVariant.hpp b/hecl/include/hecl/TypedVariant.hpp index 146d463db..48238cff3 100644 --- a/hecl/include/hecl/TypedVariant.hpp +++ b/hecl/include/hecl/TypedVariant.hpp @@ -205,34 +205,34 @@ private: #define AT_SPECIALIZE_TYPED_VARIANT_BIGDNA(...) \ template <> \ template <> \ - inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::Read>( \ + inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::Read>( \ typename Read::StreamT & r) { \ EnumType variant_type = {}; \ - Do::Read>(athena::io::PropId("variant_type"), variant_type, r); \ + Do::Read>(athena::io::PropId("variant_type"), variant_type, r); \ static_cast&>(*this) = Build(variant_type); \ visit([&](auto& var) { var.read(r); }); \ } \ \ template <> \ template <> \ - inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::Write>( \ + inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::Write>( \ typename Write::StreamT & w) { \ visit([&](auto& var) { \ using T = std::decay_t; \ EnumType variant_type = T::variant_type(); \ - Do::Write>(athena::io::PropId("variant_type"), variant_type, w); \ + Do::Write>(athena::io::PropId("variant_type"), variant_type, w); \ var.write(w); \ }); \ } \ \ template <> \ template <> \ - inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::BinarySize>( \ + inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::BinarySize>( \ typename BinarySize::StreamT & sz) { \ visit([&](auto& var) { \ using T = std::decay_t; \ EnumType variant_type = T::variant_type(); \ - Do::BinarySize>(athena::io::PropId("variant_type"), variant_type, sz); \ + Do::BinarySize>(athena::io::PropId("variant_type"), variant_type, sz); \ var.binarySize(sz); \ }); \ } \ @@ -245,22 +245,22 @@ private: AT_SPECIALIZE_TYPED_VARIANT_BIGDNA(__VA_ARGS__) \ template <> \ template <> \ - inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::ReadYaml>( \ + inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::ReadYaml>( \ typename ReadYaml::StreamT & r) { \ EnumType variant_type = {}; \ - Do::ReadYaml>(athena::io::PropId("variant_type"), variant_type, r); \ + Do::ReadYaml>(athena::io::PropId("variant_type"), variant_type, r); \ static_cast&>(*this) = Build(variant_type); \ visit([&](auto& var) { var.read(r); }); \ } \ \ template <> \ template <> \ - inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::WriteYaml>( \ + inline void hecl::TypedVariantBigDNA<__VA_ARGS__>::Enumerate::WriteYaml>( \ typename WriteYaml::StreamT & w) { \ visit([&](auto& var) { \ using T = std::decay_t; \ EnumType variant_type = T::variant_type(); \ - Do::WriteYaml>(athena::io::PropId("variant_type"), variant_type, w); \ + Do::WriteYaml>(athena::io::PropId("variant_type"), variant_type, w); \ var.write(w); \ }); \ }