Closed Tyler799 closed 4 months ago
operator=
may be used in some user code. Adding 'mutable' to vertex_stride_bytes_
would be a recommend way for the fix.
I am changing my mind. copy-assignment operator for class having const variables are troublesome and probably no one actually uses copy-assignment operator of TriangleSAHPred class.
So merged PR. Thanks!
This method was a problem previously, but GCC14 notices that it cannot work given that vertex_stridebytes is const.
It's not used, so just remove it.