Fix AT_SPECIALIZE_* endian references

This commit is contained in:
Phillip Stephens 2019-09-27 20:37:48 -07:00
parent 2ab6a6d75d
commit a9039e04e6
Signed by: Antidote
GPG Key ID: F8BEE4C83DACA60D
1 changed files with 5 additions and 5 deletions

View File

@ -1148,29 +1148,29 @@ void __BinarySizeProp64(const T& obj, size_t& s) {
#define AT_SUBSPECIALIZE_DNA(...) \ #define AT_SUBSPECIALIZE_DNA(...) \
template <> \ template <> \
template <> \ template <> \
void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Big>::BinarySize>(typename BinarySize::StreamT & s) { \ void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Endian::Big>::BinarySize>(typename BinarySize::StreamT & s) { \
_binarySize(s); \ _binarySize(s); \
} \ } \
template <> \ template <> \
template <> \ template <> \
void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Big>::Read>(typename Read::StreamT & r) { \ void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Endian::Big>::Read>(typename Read::StreamT & r) { \
_read(r); \ _read(r); \
} \ } \
template <> \ template <> \
template <> \ template <> \
void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Big>::Write>(typename Write::StreamT & w) { \ void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Endian::Big>::Write>(typename Write::StreamT & w) { \
_write(w); \ _write(w); \
} }
#define AT_SUBSPECIALIZE_DNA_YAML(...) \ #define AT_SUBSPECIALIZE_DNA_YAML(...) \
template <> \ template <> \
template <> \ template <> \
void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Big>::ReadYaml>(typename ReadYaml::StreamT & r) { \ void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Endian::Big>::ReadYaml>(typename ReadYaml::StreamT & r) { \
_read(r); \ _read(r); \
} \ } \
template <> \ template <> \
template <> \ template <> \
void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Big>::WriteYaml>(typename WriteYaml::StreamT & w) { \ void __VA_ARGS__::Enumerate<athena::io::DNA<athena::Endian::Big>::WriteYaml>(typename WriteYaml::StreamT & w) { \
_write(w); \ _write(w); \
} \ } \
AT_SUBSPECIALIZE_DNA(__VA_ARGS__) AT_SUBSPECIALIZE_DNA(__VA_ARGS__)