Fixed the build error using gcc 13 08/295008/1
authorwchang kim <wchang.kim@samsung.com>
Thu, 29 Jun 2023 21:16:37 +0000 (06:16 +0900)
committerwchang kim <wchang.kim@samsung.com>
Thu, 29 Jun 2023 21:16:37 +0000 (06:16 +0900)
Change-Id: I44728aad6cd9391e6ec521f035a342bd2ec33f9e

mv_common/src/mv_common_c.cpp
mv_machine_learning/inference/include/Utils.h

index af64721d062b8a1b8d6bb48d3a3141d79e64293f..6e1ba1a6a673092cb44fa9aba148ad45648bd011 100644 (file)
@@ -26,6 +26,7 @@
 #include <memory>
 #include <string.h>
 #include <stdlib.h>
+#include <stdexcept>
 #include <media_packet.h>
 
 int mv_create_source_c(mv_source_h *source_ptr)
@@ -737,4 +738,4 @@ int mv_source_set_priv_timestamp(mv_source_h source, void *priv)
                return MEDIA_VISION_ERROR_INTERNAL;
        }
        return MEDIA_VISION_ERROR_NONE;
-}
\ No newline at end of file
+}
index 1a15cd59a471648c21abe24f32e5badc214049b8..404924b11751574a522e96312b0a944d21f2cf41 100644 (file)
@@ -23,6 +23,7 @@
 #include <memory>
 
 #include <json-glib/json-glib.h>
+#include <stdexcept>
 #include <dlog.h>
 
 namespace mediavision
@@ -44,4 +45,4 @@ T GetSupportedType(JsonObject *root, std::string typeName, const std::map<std::s
 } /* Inference */
 } /* MediaVision */
 
-#endif
\ No newline at end of file
+#endif