felixguendling / cista

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

Bug in std_vector_test.cc #203

Closed masbug closed 12 months ago

masbug commented 12 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 12 months ago

Fixed. Thank you! :)