- properties_.reset(new std::unordered_map<std::string, std::string>);
- std::unordered_map<std::string, std::string> props(properties.cbegin(), properties.cend());
+ properties_ = std::make_unique<std::unordered_map<std::string, std::string>>();
+ std::unordered_map<std::string, std::string> props(std::cbegin(properties), std::cend(properties));