save.h: change workaround (nw)

This commit is contained in:
hap 2019-08-21 12:20:03 +02:00
parent 6472dc7d0a
commit 8033bf9f7c

View File

@ -267,18 +267,14 @@ public:
// template specializations to enumerate the fundamental atomic types you are allowed to save
ALLOW_SAVE_TYPE_AND_ARRAY(char)
ALLOW_SAVE_TYPE (bool); // std::vector<bool> may be packed internally
#ifdef __sun
ALLOW_SAVE_TYPE_AND_ARRAY(signed char)
#else
ALLOW_SAVE_TYPE_AND_ARRAY(s8)
#endif
ALLOW_SAVE_TYPE_AND_ARRAY(u8)
ALLOW_SAVE_TYPE_AND_ARRAY(s16)
ALLOW_SAVE_TYPE_AND_ARRAY(u16)
ALLOW_SAVE_TYPE_AND_ARRAY(s32)
ALLOW_SAVE_TYPE_AND_ARRAY(u32)
ALLOW_SAVE_TYPE_AND_ARRAY(s64)
ALLOW_SAVE_TYPE_AND_ARRAY(u64)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::s8)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::u8)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::s16)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::u16)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::s32)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::u32)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::s64)
ALLOW_SAVE_TYPE_AND_ARRAY(osd::u64)
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR)
ALLOW_SAVE_TYPE_AND_ARRAY(PAIR64)
ALLOW_SAVE_TYPE_AND_ARRAY(float)