[cli] Use stdex instead of nncc_foundation (#2650)
author박종현/동작제어Lab(SR)/Staff Engineer/삼성전자 <jh1302.park@samsung.com>
Thu, 13 Dec 2018 02:19:20 +0000 (11:19 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Thu, 13 Dec 2018 02:19:20 +0000 (11:19 +0900)
This commit replaces all the use of nncc::foundation::make_unique in cli
project with stdex::make_unique.

Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
contrib/cli/CMakeLists.txt
contrib/cli/src/App.test.cpp

index 41dd1f1..1011e9b 100644 (file)
@@ -12,6 +12,6 @@ endif(NOT GTest_FOUND)
 
 add_executable(cli_test ${TESTS})
 target_link_libraries(cli_test cli)
-target_link_libraries(cli_test nncc_foundation)
+target_link_libraries(cli_test stdex)
 target_link_libraries(cli_test gtest_main)
 add_test(cli_test cli_test)
index 97f6bc8..80f25ac 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "cli/App.h"
 
-#include <nncc/foundation/Memory.h>
+#include <stdex/Memory.h>
 
 #include <gtest/gtest.h>
 
@@ -52,7 +52,7 @@ TEST(APP, run)
   cli::App app("test");
 
   std::string args;
-  app.insert("record", nncc::foundation::make_unique<RecordCommand>(3, args));
+  app.insert("record", stdex::make_unique<RecordCommand>(3, args));
 
   const char *argv[] = {
     "record",