mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-05-24 14:35:01 -04:00
Fix build with latest nlohmann json lib
This commit is contained in:
committed by
Adam Honse
parent
044917e2f1
commit
1d5faef123
@@ -329,7 +329,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
|
||||
}
|
||||
else
|
||||
{
|
||||
for(nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::json>>& it : device_settings[SectionLayout].items())
|
||||
for(const nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::json>>& it : device_settings[SectionLayout].items())
|
||||
{
|
||||
MBName2Layout.insert( std::pair<std::string, std::string>(it.key(), it.value() ));
|
||||
}
|
||||
@@ -380,7 +380,7 @@ void RGBController_RGBFusion2USB::Load_Device_Config()
|
||||
json json_HCL = device_settings[SectionCustom]["Data"];
|
||||
layout.clear();
|
||||
|
||||
for(nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::json>>& json_layout_it : json_HCL.items())
|
||||
for(const nlohmann::detail::iteration_proxy_value<nlohmann::detail::iter_impl<nlohmann::json>>& json_layout_it : json_HCL.items())
|
||||
{
|
||||
json json_zl = json_layout_it.value();
|
||||
std::vector<LedPort> v_lp;
|
||||
|
||||
Reference in New Issue
Block a user