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

◆ operator()() [8/10]

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

Definition at line 27 of file json_visitors.h.

27 {
28 mValue = static_cast<T>(raw);
29 // Check for overflow/truncation
30 if (static_cast<i64>(mValue) != raw) {
31 mResult.addWarning("integer overflow/truncation: " + fl::to_string(raw) +
32 " converted to " + fl::to_string(static_cast<i64>(mValue)));
33 }
34 }

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

+ Here is the call graph for this function: