Skip to content

Commit cd39927

Browse files
committed
fix: JSON::Impl::SettingLoad<>
1 parent 2081335 commit cd39927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/REX/REX/JSON.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace REX::JSON
1717
T& a_valueDefault)
1818
{
1919
const auto& json = *static_cast<glz::json_t*>(a_data);
20-
a_value = glz::get<T>(json, a_path).value_or(a_valueDefault);
20+
a_value = glz::get<T>(json, a_path).value_or(a_valueDefault).get();
2121
}
2222

2323
template void SettingLoad<bool>(void*, path_t, bool&, bool&);

0 commit comments

Comments
 (0)