mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-12 07:19:01 +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
|
// Specifically copies referenced memory
|
||||||
void swap(PseudoPointD &other) noexcept {
|
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]);
|
std::swap(mem_[dim], other.mem_[dim]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user