Added Loki support

This commit is contained in:
MoneroOcean
2018-09-10 22:07:41 +02:00
parent 7f703a05ff
commit 473f81f81b
3 changed files with 16 additions and 0 deletions

View File

@@ -45,6 +45,13 @@ inline bool do_serialize(Archive &ar, T &v)
return ::serializer<Archive, T>::serialize(ar, v);
}
template <class Archive>
inline bool do_serialize(Archive &ar, bool &v)
{
ar.serialize_blob(&v, sizeof(v));
return true;
}
#ifndef __GNUC__
#ifndef constexpr
#define constexpr