FastLED 3.9.15
Loading...
Searching...
No Matches

◆ operator()() [1/10]

template<typename T>
void fl::detail::JsonToIntegerVisitor< T >::operator() ( const bool & b)
inline

Definition at line 37 of file json_visitors.h.

37 {
38 mValue = b ? T(1) : T(0);
39 mResult.addWarning("bool converted to int " + fl::to_string(static_cast<i64>(mValue)));
40 }

References mResult, mValue, and fl::to_string().

+ Here is the call graph for this function: