From 1c5dfa4a27731428dccd91ca94169455bd7511ac Mon Sep 17 00:00:00 2001 From: Morten Borup Petersen Date: Tue, 3 Sep 2024 13:07:07 +0200 Subject: [PATCH] [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 --- lib/Dialect/ESI/runtime/cpp/lib/Manifest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/Dialect/ESI/runtime/cpp/lib/Manifest.cpp b/lib/Dialect/ESI/runtime/cpp/lib/Manifest.cpp index bc096f5faa..928d24119b 100644 --- a/lib/Dialect/ESI/runtime/cpp/lib/Manifest.cpp +++ b/lib/Dialect/ESI/runtime/cpp/lib/Manifest.cpp @@ -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( + return std::make_unique( 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(parseID(child.at("app_id")), getModInfo(child), - std::move(children), services, ports); + return std::make_unique(parseID(child.at("app_id")), + getModInfo(child), std::move(children), + services, ports); } services::Service *