CodeCheck整改

Signed-off-by: bwx1095090 <baomingde@h-partners.com>
This commit is contained in:
bwx1095090
2022-12-05 11:10:04 +08:00
parent bd46e7eb41
commit 6393042f97
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -82,8 +82,7 @@ public:
const char *GetName() const override
{
const char *name = workerName_.c_str();
return name;
return workerName_.c_str();
}
bool OneAction() override
+1 -1
View File
@@ -26,7 +26,7 @@ using namespace OHOS::AI;
using namespace testing::ext;
namespace {
const char *INPUT_CHARACTER = "inputData";
const char * const INPUT_CHARACTER = "inputData";
const char * const CONFIG_DESCRIPTION = "config information";
const long long CLIENT_INFO_VERSION = 1;
const int CLIENT_ID = -1;