Merge pull request #25 from BotellaA/patch-1

Update memory_resource.h to remove compile warnings
This commit is contained in:
Mindaugas Vinkelis
2019-08-21 13:55:33 +03:00
committed by GitHub

View File

@@ -124,7 +124,8 @@ namespace bitsery {
// it just wraps our PolyAllocWithTypeId and pass 0 as typeId
// and defines core functions for c++ Allocator concept,
template<class T>
struct StdPolyAlloc {
class StdPolyAlloc {
public:
using value_type = T;
explicit constexpr StdPolyAlloc(MemResourceBase* memResource)