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;