mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-22 18:55:29 +00:00
[fnd] Update Endian.h
This commit is contained in:
parent
9e723d6e00
commit
2ad3c13596
|
@ -37,7 +37,7 @@ static inline uint16_t le_hword(uint16_t a) { return __local_bswap16(a); }
|
|||
#error "What's the endianness of the platform you're targeting?"
|
||||
#endif
|
||||
|
||||
template <class T, T (*F)(T)>
|
||||
template <class T, static T (*F)(T)>
|
||||
class ISerialiseablePrimative {
|
||||
public:
|
||||
inline T get() const { return F(mVar);}
|
||||
|
|
Loading…
Reference in a new issue