| 471 | |
| 472 | template <typename T> |
| 473 | enable_if_t<sizeof(T) == 4, bool> setFloat(T value, ResourceManager*) { |
| 474 | ARDUINOJSON_ASSERT(type_ == VariantType::Null); // must call clear() first |
| 475 | type_ = VariantType::Float; |
| 476 | content_.asFloat = value; |
| 477 | return true; |
| 478 | } |
| 479 | |
| 480 | template <typename T> |
| 481 | enable_if_t<sizeof(T) == 8, bool> setFloat(T value, ResourceManager*); |
nothing calls this directly
no outgoing calls
no test coverage detected