mv_machine_learning: clean up mv_private.h header inclusion
authorInki Dae <inki.dae@samsung.com>
Mon, 23 Oct 2023 03:04:51 +0000 (12:04 +0900)
committerKwanghoon Son <k.son@samsung.com>
Wed, 25 Oct 2023 01:54:03 +0000 (10:54 +0900)
[Issue type] : code cleanup

Clean up the header inclusion by making mv_private.h to be included by
machine_learning_preprocess.cpp instead of machine_learning_preprocess.h
because the header inclusion is needed to use LOG_TAG but only needed by
machine_learning_preprocess.cpp file.

Change-Id: I656f00a1508ce68487d63ba2a3c1fc3d62922549
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/meta/include/machine_learning_preprocess.h
mv_machine_learning/meta/src/machine_learning_preprocess.cpp

index 080a39c..e530947 100644 (file)
@@ -25,7 +25,6 @@
 #include <inference_engine_type.h>
 #include <mv_inference_type.h>
 
-#include "mv_private.h"
 #include "mv_common.h"
 
 #include <opencv2/core.hpp>
index 919f70e..f729ec5 100644 (file)
@@ -19,6 +19,7 @@
 #include <string>
 #include <queue>
 #include <algorithm>
+#include "mv_private.h"
 #include "machine_learning_preprocess.h"
 #include "machine_learning_exception.h"