moya-lang / Allocator

Ultra fast C++11 allocator for STL containers.
BSD 2-Clause "Simplified" License
270 stars 25 forks source link

Fix uninitialized field #9

Closed chausner closed 4 years ago

chausner commented 4 years ago

This fixes an issue introduced with the last MSVC workaround changes where the copyAllocator field remains uninitialized, leading to an access violation in Allocator::allocate.

moya-mmoczala commented 4 years ago

Thank you so much for your time and the fix!