forked from mia/Aegisub
Simplify some uses of cajun types and eliminate some copies
Originally committed to SVN as r6007.
This commit is contained in:
parent
9cbaa01e63
commit
522e634122
1 changed files with 1 additions and 2 deletions
|
@ -31,8 +31,7 @@ namespace agi {
|
|||
MRUManager::MRUManager(const std::string &config, const std::string &default_config): config_name(config) {
|
||||
LOG_D("agi/mru") << "Loading MRU List";
|
||||
|
||||
json::UnknownElement root = json_util::file(config, default_config);
|
||||
const json::Object& root_new = (json::Object)root;
|
||||
json::Object root_new = json_util::file(config, default_config);
|
||||
|
||||
json::Object::const_iterator index_object(root_new.begin()), index_objectEnd(root_new.end());
|
||||
|
||||
|
|
Loading…
Reference in a new issue