We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
JSON::Impl::SettingLoad<>
1 parent 2081335 commit cecb011Copy full SHA for cecb011
src/REX/REX/JSON.cpp
@@ -17,7 +17,8 @@ namespace REX::JSON
17
T& a_valueDefault)
18
{
19
const auto& json = *static_cast<glz::json_t*>(a_data);
20
- a_value = glz::get<T>(json, a_path).value_or(a_valueDefault);
+ REX::DEBUG("loading: {}", a_path);
21
+ a_value = glz::get<T>(json, a_path).value_or(a_valueDefault).get();
22
}
23
24
template void SettingLoad<bool>(void*, path_t, bool&, bool&);
0 commit comments