From 2bef72df0afa4f123365fb01fa961f9feabf0e45 Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期三, 06 三月 2019 11:49:38 +0800
Subject: [PATCH] Merge branch 'yw.1.2.fixbug' of http://192.168.1.226:10010/r/development/c++ into yw.1.2.fixbug
---
QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp b/QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp
index 1b83824..0c82dfc 100644
--- a/QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp
+++ b/QiaoJiaSystem/FaceDetectServer/FaceExtractServerI.cpp
@@ -31,6 +31,7 @@
FaceDetect::Data FaceExtractServerI::faceExtract(Ice::Int width, Ice::Int height, const FaceDetect::FacePos &pos,
const std::string &shareMemoryName, const Ice::Current &) {
ClockTimer ct("FaceExtractServerI::faceExtract");
+ INFO("faceExtract");
QSharedMemory shareMemory(QString(shareMemoryName.c_str()));
FaceDetect::Data feature;
if (shareMemory.attach()) {
@@ -46,7 +47,8 @@
}
return feature;
} else {
- throw std::runtime_error("shareMemory attach faild");
+ ERR("shareMemory attach faild");
+// throw std::runtime_error("shareMemory attach faild");
}
}
--
Gitblit v1.8.0