non-const uint8_t*
tobysharp opened this issue · comments
tobysharp commented
In PlyFile::add_properties_to_element
I notice that argument uint8_t* data
is a pointer to non-const data. Is this buffer modified by the function? If so, some comment to that effect would be helpful. If not, please change to const uint8_t* data
.
Dimitri Diakopoulos commented
Hi @tobysharp thanks - I've fixed/updated this behavior in ca7b279. PlyFile::add_properties_to_element
now respects const input pointers.