mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-27 23:01:55 +00:00
Add base for calculation sizes of structs for StructuredDataDef
This commit is contained in:
@ -16,10 +16,16 @@
|
||||
#undef _NODISCARD
|
||||
#endif
|
||||
|
||||
#ifdef _NORETURN
|
||||
#undef _NORETURN
|
||||
#endif
|
||||
|
||||
#if _CPP_VERSION >= 201703L
|
||||
#define _NODISCARD [[nodiscard]]
|
||||
#define _NORETURN [[noreturn]]
|
||||
#else
|
||||
#define _NODISCARD
|
||||
#define _NORETURN
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
|
Reference in New Issue
Block a user