[fnd] Update Endian.h

This commit is contained in:
jakcron 2018-04-07 16:05:54 +08:00
parent 9e723d6e00
commit 2ad3c13596

View file

@ -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?" #error "What's the endianness of the platform you're targeting?"
#endif #endif
template <class T, T (*F)(T)> template <class T, static T (*F)(T)>
class ISerialiseablePrimative { class ISerialiseablePrimative {
public: public:
inline T get() const { return F(mVar);} inline T get() const { return F(mVar);}