CesiumGS / cesium-native

Apache License 2.0
414 stars 210 forks source link

Changed `AccessorWriter` constructor to take `std::byte*` instead of `uint8_t*` #923

Closed lilleyse closed 1 month ago

lilleyse commented 1 month ago

Changed AccessorWriter constructor to take std::byte* instead of uint8_t* which matches the AccessorView constructor and prevents a compilation error.

lilleyse commented 1 month ago

I don't have the error handy right now, but it was about disallowed implicit conversion from uint8_t* to std::byte*

csciguy8 commented 1 month ago

Makes sense. Thanks!