forked from mirrors/0ad
6b9652050c
Replaces a raw memcpy call with std::copy_n in VorbisBufferAdapter::Read for improved type safety and readability. This ensures cleaner buffer copying using standard C++ algorithms, avoiding manual pointer arithmetic on void*. The change is functionally equivalent but aligns better with modern C++17 practices.