From 04d9dcc13f38cdb71dd9e69f5733edc17f1312ef Mon Sep 17 00:00:00 2001 From: MistEO Date: Tue, 10 Oct 2023 17:12:02 +0800 Subject: [PATCH] chore: English is too hard. --- source/MaaRpc/implement/Controller.cpp | 2 +- source/MaaRpc/implement/Instance.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/MaaRpc/implement/Controller.cpp b/source/MaaRpc/implement/Controller.cpp index c8438db51..da4677339 100644 --- a/source/MaaRpc/implement/Controller.cpp +++ b/source/MaaRpc/implement/Controller.cpp @@ -306,7 +306,7 @@ Status ControllerImpl::create_custom( #if defined(__APPLE__) && defined(__clang__) && __clang_major__ < 16 std::shared_ptr info(new CustomControllerInfo{ stream, image_impl_ }); #else - // build error on macOS of Apple clang version 15.0.0 (clang-1500.0.40.1) + // build error of Apple clang version 15.0.0 (clang-1500.0.40.1) on macOS auto info = std::make_shared(stream, image_impl_); #endif diff --git a/source/MaaRpc/implement/Instance.cpp b/source/MaaRpc/implement/Instance.cpp index 23c37782d..9da59d11a 100644 --- a/source/MaaRpc/implement/Instance.cpp +++ b/source/MaaRpc/implement/Instance.cpp @@ -107,7 +107,7 @@ Status InstanceImpl::register_custom_recognizer( #if defined(__APPLE__) && defined(__clang__) && __clang_major__ < 16 std::shared_ptr info(new CustomRecognizerInfo{ request->init().name(), stream, image_impl_, syncctx_impl_ }); #else - // build error on macOS of Apple clang version 15.0.0 (clang-1500.0.40.1) + // build error of Apple clang version 15.0.0 (clang-1500.0.40.1) on macOS auto info = std::make_shared(request->init().name(), stream, image_impl_, syncctx_impl_); #endif