[JSON] Fix uninitialized variable warning
Fix uninitialized variable warning when deserializing a std::optional<E> where is an enum type. JSON.h:771:20: warning: variable 'Result' is uninitialized when used here [-Wuninitialized] if (!fromJSON(E, Result, P)) ^~~~~~
Loading
Please sign in to comment