mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:04: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:
@@ -63,7 +63,7 @@ public:
|
|||||||
constexpr DNAFourCC(const FourCC& other) noexcept : FourCC(other) {}
|
constexpr DNAFourCC(const FourCC& other) noexcept : FourCC(other) {}
|
||||||
constexpr DNAFourCC(const char* name) noexcept : FourCC(name) {}
|
constexpr DNAFourCC(const char* name) noexcept : FourCC(name) {}
|
||||||
constexpr DNAFourCC(uint32_t n) noexcept : FourCC(n) {}
|
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
|
AT_DECL_EXPLICIT_DNA_YAML
|
||||||
};
|
};
|
||||||
template <>
|
template <>
|
||||||
|
|||||||
Reference in New Issue
Block a user