Skip to content

Commit

Permalink
fix(linux): fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverlan committed Sep 16, 2023
1 parent e2bab0e commit c9663a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/shared/src/model/animation/animation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ std::shared_ptr<panima::Animation> pragma::animation::Animation::ToPanimaAnimati
auto t = getNextTime();
while(t) {
// Find index for t
auto it = std::lower_bound(valueData.begin(), valueData.end(), *t - panima::Channel::TIME_EPSILON, [t](const ValueData &valueData, float t) { return valueData.time < t; });
auto it = std::lower_bound(valueData.begin(), valueData.end(), *t - panima::Channel::TIME_EPSILON, [](const ValueData &valueData, float t) { return valueData.time < t; });
assert(it != valueData.end());
if(it == valueData.end())
throw std::logic_error {"Timestamp value not found!"};
Expand Down

0 comments on commit c9663a3

Please sign in to comment.