From 6b626a69cc7fa64590a0ca0d3539f2d1a862d2cf Mon Sep 17 00:00:00 2001
From: Scheaven <xuepengqiang>
Date: 星期二, 10 八月 2021 19:51:45 +0800
Subject: [PATCH] bug

---
 src/h_interface.cpp       |    1 +
 src/utils/timer_utils.hpp |    4 ++--
 src/h_interface.h         |    1 -
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/h_interface.cpp b/src/h_interface.cpp
index ce84aa2..1d34297 100644
--- a/src/h_interface.cpp
+++ b/src/h_interface.cpp
@@ -83,3 +83,4 @@
     t->count = 0;
     t->targets = nullptr;
 }
+
diff --git a/src/h_interface.h b/src/h_interface.h
index 714390d..585955e 100644
--- a/src/h_interface.h
+++ b/src/h_interface.h
@@ -11,7 +11,6 @@
 #endif
 
 #define API extern "C" __attribute__((visibility ("default")))
-
 API void* create(const char *conf, int *max_chan);
 API void release(void* handle);
 API void* get_result(void *handle, const void *img, const int chan);
diff --git a/src/utils/timer_utils.hpp b/src/utils/timer_utils.hpp
index dafccbb..cc9ac6e 100644
--- a/src/utils/timer_utils.hpp
+++ b/src/utils/timer_utils.hpp
@@ -21,8 +21,8 @@
         void out(std::string message="")
         {
             double t = elapsed();
-            // std::cout << message << " elasped time:" << t << "ms" << std::endl;
-            DEBUG((boost::format("%e lasped time:%f ms")%message %t).str());
+            std::cout << message << " elasped time:" << t << "ms" << std::endl;
+            // DEBUG((boost::format("%e lasped time:%f ms")%message %t).str());
             reset();
         }
         // DEBUG((boost::format("nhao%d")%1).str());

--
Gitblit v1.8.0