FourCC: Remove constexpr from IStreamReader constructor

IStreamReader isn't constexpr, so this will result in a compilation
error if used.
This commit is contained in:
Lioncash 2020-04-05 09:13:26 -04:00
parent ede801b344
commit 613b503cd6
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public:
constexpr DNAFourCC(const FourCC& other) noexcept : FourCC(other) {}
constexpr DNAFourCC(const char* name) noexcept : FourCC(name) {}
constexpr DNAFourCC(uint32_t n) noexcept : FourCC(n) {}
constexpr DNAFourCC(athena::io::IStreamReader& r) { read(r); }
DNAFourCC(athena::io::IStreamReader& r) { read(r); }
AT_DECL_EXPLICIT_DNA_YAML
};
template <>