From e399bff7558bc1a229816af12c16c1c8a485f92b Mon Sep 17 00:00:00 2001 From: chencheng31 Date: Wed, 16 Mar 2022 12:59:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BC=96=E7=A0=81=E8=A7=84?= =?UTF-8?q?=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chencheng31 --- include/{nocopyable.h => no_copy_able.h} | 0 include/singleton.h | 2 +- src/resource_directory.cpp | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename include/{nocopyable.h => no_copy_able.h} (100%) diff --git a/include/nocopyable.h b/include/no_copy_able.h similarity index 100% rename from include/nocopyable.h rename to include/no_copy_able.h diff --git a/include/singleton.h b/include/singleton.h index 5cf221f..c93c215 100644 --- a/include/singleton.h +++ b/include/singleton.h @@ -16,7 +16,7 @@ #ifndef OHOS_RESTOOL_SINGLETON_OBJECT_H #define OHOS_RESTOOL_SINGLETON_OBJECT_H -#include "nocopyable.h" +#include "no_copy_able.h" namespace OHOS { namespace Global { diff --git a/src/resource_directory.cpp b/src/resource_directory.cpp index 53785eb..ebef655 100644 --- a/src/resource_directory.cpp +++ b/src/resource_directory.cpp @@ -70,7 +70,7 @@ bool ResourceDirectory::ScanResourceLimitKeyDir(const string &resourceTypeDir, c string fileCluster = it->GetFilePath().GetFilename(); if (ResourceUtil::IsIgnoreFile(fileCluster, it->IsFile())) { continue; - } + } if (it->IsFile()) { cerr << "Error: '" << dirPath << "' not directory." << endl;