mirror of https://github.com/llvm/circt.git
[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:
parent
ec8e3642bc
commit
1c5dfa4a27
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue