Skip to content

Commit

Permalink
attributes/point_d_vector: Prevent a singend/unsigned mismatch (googl…
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyFunk authored and ondys committed Mar 5, 2019
1 parent d132946 commit 265bbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/draco/compression/attributes/point_d_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
}

Expand Down

0 comments on commit 265bbfc

Please sign in to comment.