auto dictionary = IniParser::Parse(file.string());
auto info =
std::make_shared<ServiceInfo>(file.string(), std::move(dictionary));
-
+
orders_.push_back(std::make_pair(info->GetName(), info->GetPriority()));
infos_[info->GetName()] = std::move(info);
}
}
void ServiceLoader::RunAllServices() {
- _W("RunAllServices : %d", orders_.size());
+ _W("RunAllServices : %zd", orders_.size());
for (auto& order : orders_) {
_E("Add order queue service : %s, priority : %d", order.first.c_str(), order.second);