mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 17:19:08 +08:00
attributes/point_d_vector: Prevent a singend/unsigned mismatch (#489)
This commit is contained in:
parent
d1329465fc
commit
265bbfc617
@ -42,7 +42,7 @@ class PseudoPointD {
|
||||
|
||||
// Specifically copies referenced memory
|
||||
void swap(PseudoPointD &other) noexcept {
|
||||
for (auto dim = 0; dim < dimension_; dim += 1)
|
||||
for (internal_t dim = 0; dim < dimension_; dim += 1)
|
||||
std::swap(mem_[dim], other.mem_[dim]);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user