felixguendling / cista

Cista is a simple, high-performance, zero-copy C++ serialization & reflection library.
https://cista.rocks
MIT License
1.74k stars 110 forks source link

Bug in std_vector_test.cc #203

Closed masbug closed 8 months ago

masbug commented 8 months ago

This should be vec.reserve not vec.resize: https://github.com/felixguendling/cista/blob/f1a9c46feb311e5d0894f8eee3d400123e32cd4f/test/std_vector_test.cc#L50C8-L50C8

Otherwise the resulting vector is doubled in size.

felixguendling commented 8 months ago

Fixed. Thank you! :)