mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-27 08:15:33 +01:00
GraphicsModFeature: Reduce object churn a little
This commit is contained in:
parent
0385b40bd8
commit
24f952c12b
@ -7,9 +7,9 @@
|
|||||||
|
|
||||||
void GraphicsModFeatureConfig::SerializeToConfig(picojson::object& json_obj) const
|
void GraphicsModFeatureConfig::SerializeToConfig(picojson::object& json_obj) const
|
||||||
{
|
{
|
||||||
json_obj["group"] = picojson::value{m_group};
|
json_obj.emplace("group", m_group);
|
||||||
json_obj["action"] = picojson::value{m_action};
|
json_obj.emplace("action", m_action);
|
||||||
json_obj["action_data"] = m_action_data;
|
json_obj.emplace("action_data", m_action_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GraphicsModFeatureConfig::DeserializeFromConfig(const picojson::object& obj)
|
bool GraphicsModFeatureConfig::DeserializeFromConfig(const picojson::object& obj)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user