From 0688756b71b40e0ac60c68af2fa1fe4aaeb1718d Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期一, 13 二月 2017 16:27:41 +0800 Subject: [PATCH] replace log to support android --- RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp b/RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp index 1f87a5c..680d1e0 100644 --- a/RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp +++ b/RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp @@ -9,7 +9,7 @@ int ret = pthread_mutex_lock((pthread_mutex_t*)mut); \ if(ret != 0) \ { \ - LOG_ERROR << "pthread_mutex_lock " << #mut << ": " << ret; \ + LOG_ERROR << "pthread_mutex_lock " << #mut << ": " << ret << std::endl; \ return _ret; \ } \ } @@ -18,7 +18,7 @@ int ret = pthread_mutex_unlock((pthread_mutex_t*)mut); \ if(ret != 0) \ { \ - LOG_ERROR << "pthread_mutex_unlock " << #mut << ": " << ret; \ + LOG_ERROR << "pthread_mutex_unlock " << #mut << ": " << ret << std::endl; \ return _ret; \ } \ } -- Gitblit v1.8.0