Fix building with GCC

Fixes #545.
This commit is contained in:
Oliver Hamlet
2016-02-28 17:21:02 +00:00
parent 95c5ba2959
commit e9204b1fd1
+2 -1
View File
@@ -282,7 +282,8 @@ namespace loot {
// Update the settings.
// If the user has deleted a default game, we don't want to restore it now.
// It will be restored when LOOT is next loaded.
_lootState.load(request["args"][0]);
YAML::Node settings = request["args"][0];
_lootState.load(settings);
// Now send back the new list of installed games to the UI.
BOOST_LOG_TRIVIAL(trace) << "Getting new list of installed games.";