Skip to content

Commit

Permalink
fix potential compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Dec 30, 2024
1 parent d975c98 commit 34af235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transitions/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class TransitionHelper {
operator bool() const { return active_; }

template<class A, class B>
auto getColor(A a, B b, int led) -> decltype(tr_.getColor(a, b, led)) {
auto getColor(A a, B b, int led) -> decltype(MixColors(tr_.getColor(a, b, led), b, 1,1)) {
if (active_)
return tr_.getColor(a, b, led);
else
Expand Down

0 comments on commit 34af235

Please sign in to comment.