Skip to content

Commit

Permalink
Ajust name of default easing to prevent compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mobius3 committed Aug 2, 2019
1 parent 545876f commit 1c2eb4e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/easing.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ namespace tweeny {
static typename std::enable_if<!supports_arithmetic_operations<T>::value, T>::type run(float position, T start, T end) {
return start;
}
} default = defaultEasing{};
} def = defaultEasing{};

/**
* @ingroup linear
Expand Down
2 changes: 1 addition & 1 deletion include/easingresolve.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace tweeny {
typedef typename std::tuple_element<I, TypeTuple>::type ArgType;

static void impl(FunctionTuple &b, easing::defaultEasing, Fs... fs) {
get<I>(b) = easing::default.run<ArgType>;
get<I>(b) = easing::def.run<ArgType>;
easingresolve<I + 1, TypeTuple, FunctionTuple, Fs...>::impl(b, fs...);
}
};
Expand Down
2 changes: 1 addition & 1 deletion include/tweenpoint.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace tweeny {
template<typename... Ts>
inline tweenpoint<Ts...>::tweenpoint(Ts... vs) : values{vs...} {
during(static_cast<uint16_t>(0));
via(easing::default);
via(easing::def);
}

template<typename... Ts>
Expand Down

0 comments on commit 1c2eb4e

Please sign in to comment.