From a88814c307cdc10d60ddcd506751ff2e6ded72a1 Mon Sep 17 00:00:00 2001 From: "qianqian.shan" Date: Thu, 3 Mar 2022 15:46:24 +0800 Subject: [PATCH] Modify code specification Signed-off-by: qianqian.shan --- .vscode/settings.json | 5 +++++ services/ca_mock/src/face_auth_ca.cpp | 2 +- services/faceauth/src/face_auth_event.cpp | 3 +-- services/faceauth/src/face_auth_manager.cpp | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..bf3e118 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "files.associations": { + "cstdio": "cpp" + } +} \ No newline at end of file diff --git a/services/ca_mock/src/face_auth_ca.cpp b/services/ca_mock/src/face_auth_ca.cpp index 55c0412..fc104d2 100644 --- a/services/ca_mock/src/face_auth_ca.cpp +++ b/services/ca_mock/src/face_auth_ca.cpp @@ -13,12 +13,12 @@ * limitations under the License. */ -#include "face_auth_ca.h" #include #include #include #include "defines.h" #include "face_auth_func.h" +#include "face_auth_ca.h" namespace OHOS { namespace UserIAM { diff --git a/services/faceauth/src/face_auth_event.cpp b/services/faceauth/src/face_auth_event.cpp index 6c310b9..f886f04 100644 --- a/services/faceauth/src/face_auth_event.cpp +++ b/services/faceauth/src/face_auth_event.cpp @@ -13,13 +13,12 @@ * limitations under the License. */ -#include "face_auth_event.h" -#include #include "face_auth_log_wrapper.h" #include "face_auth_defines.h" #include "face_auth_event_handler.h" #include "face_auth_manager.h" #include "face_auth_req.h" +#include "face_auth_event.h" namespace OHOS { namespace UserIAM { diff --git a/services/faceauth/src/face_auth_manager.cpp b/services/faceauth/src/face_auth_manager.cpp index 371f503..3f2b042 100644 --- a/services/faceauth/src/face_auth_manager.cpp +++ b/services/faceauth/src/face_auth_manager.cpp @@ -12,7 +12,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -#include "face_auth_manager.h" #include #include #include @@ -31,6 +30,7 @@ #include "face_auth_req.h" #include "face_auth_camera.h" #include "face_auth_defines.h" +#include "face_auth_manager.h" namespace OHOS { namespace UserIAM { -- Gitee