[ESI] Don't assume `using namespace std` in Manifest.cpp (#7571)

* [ESI] Don't assume `using namespace std` in Manifest.cpp

* format

---------

Co-authored-by: Morten Borup Petersen <mpetersen@microsoft.com>
This commit is contained in:
Morten Borup Petersen 2024-09-03 13:07:07 +02:00 committed by GitHub
parent ec8e3642bc
commit 1c5dfa4a27
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 3 deletions

View File

@ -277,7 +277,7 @@ Manifest::Impl::buildAccelerator(AcceleratorConnection &acc) const {
// Get the ports at the top level.
auto ports = getBundlePorts(acc, {}, activeSvcs, designJson);
return make_unique<Accelerator>(
return std::make_unique<Accelerator>(
getModInfo(designJson),
getChildInstances({}, acc, activeSvcs, designJson), services, ports);
}
@ -339,8 +339,9 @@ Manifest::Impl::getChildInstance(AppIDPath idPath, AcceleratorConnection &acc,
auto children = getChildInstances(idPath, acc, activeServices, child);
auto ports = getBundlePorts(acc, idPath, activeServices, child);
return make_unique<Instance>(parseID(child.at("app_id")), getModInfo(child),
std::move(children), services, ports);
return std::make_unique<Instance>(parseID(child.at("app_id")),
getModInfo(child), std::move(children),
services, ports);
}
services::Service *