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; \ } \ }