Skip to content

Commit

Permalink
Try fix usage of distance with glm
Browse files Browse the repository at this point in the history
  • Loading branch information
arximboldi committed Aug 22, 2024
1 parent b9fb6d7 commit af857bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion immer/detail/arrays/no_capacity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct no_capacity
bool> = true>
static no_capacity from_range(Iter first, Sent last)
{
auto count = static_cast<size_t>(distance(first, last));
auto count = static_cast<size_t>(detail::distance(first, last));
if (count == 0)
return empty();
else
Expand Down
2 changes: 1 addition & 1 deletion immer/detail/arrays/with_capacity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct with_capacity
bool> = true>
static with_capacity from_range(Iter first, Sent last)
{
auto count = static_cast<size_t>(distance(first, last));
auto count = static_cast<size_t>(detail::distance(first, last));
if (count == 0)
return empty();
else
Expand Down

0 comments on commit af857bd

Please sign in to comment.