2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 15:44:56 +00:00

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

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 <>