This commit replaces all the occurrences of make_unique in
nncc::foundation with stdex::make_unique.
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
target_include_directories(encodump PRIVATE src)
target_link_libraries(encodump enco_intf_frontend)
target_link_libraries(encodump enco_core)
+target_link_libraries(encodump stdex)
target_link_libraries(encodump dl)
} // namespace
-#include <nncc/foundation/Memory.h>
+#include <stdex/Memory.h>
#include <map>
std::map<std::string, std::function<void(const std::string &arg)>> argparse;
argparse["--frontend"] = [&](const std::string &path) {
- frontend_zone = nncc::foundation::make_unique<FrontendZone>(path);
+ frontend_zone = stdex::make_unique<FrontendZone>(path);
};
argparse["--frontend-arg"] = [&](const std::string &arg) { frontend_zone->append(arg); };