diff --git a/include/bitsery/ext/utils/memory_resource.h b/include/bitsery/ext/utils/memory_resource.h index c8f52a1..10f9fbc 100644 --- a/include/bitsery/ext/utils/memory_resource.h +++ b/include/bitsery/ext/utils/memory_resource.h @@ -124,7 +124,7 @@ namespace bitsery { // it just wraps our PolyAllocWithTypeId and pass 0 as typeId // and defines core functions for c++ Allocator concept, template - struct StdPolyAlloc { + class StdPolyAlloc { using value_type = T; explicit constexpr StdPolyAlloc(MemResourceBase* memResource)