mirror of
https://github.com/fraillt/bitsery.git
synced 2026-09-18 00:04:30 +00:00
Merge pull request #25 from BotellaA/patch-1
Update memory_resource.h to remove compile warnings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user