Loading src/conf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ confplus::Config::ConfigData *confplus::Config::setKey(const std::string &key){ current_ptr = ¤t_ptr->get()->nextData; } *current_ptr = std::unique_ptr<ConfigData>(new ConfigData); *current_ptr = std::move(std::unique_ptr<ConfigData>(new ConfigData)); find = current_ptr->get(); find->Key = childkey; Loading Loading
src/conf.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ confplus::Config::ConfigData *confplus::Config::setKey(const std::string &key){ current_ptr = ¤t_ptr->get()->nextData; } *current_ptr = std::unique_ptr<ConfigData>(new ConfigData); *current_ptr = std::move(std::unique_ptr<ConfigData>(new ConfigData)); find = current_ptr->get(); find->Key = childkey; Loading