From 64f4358c775618ad295e5559bb7937b4c618ef27 Mon Sep 17 00:00:00 2001 From: Roland125 <44255013+Roland125@users.noreply.github.com> Date: Tue, 17 Dec 2024 15:22:36 +0800 Subject: [PATCH] fix: Try to fix the compilation failure on aarch64 (#11378) fix:Try to fix the compilation failure on aarch64 --- src/MaaCore/Config/TaskData.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MaaCore/Config/TaskData.cpp b/src/MaaCore/Config/TaskData.cpp index de176f6a8f..26cbcb9304 100644 --- a/src/MaaCore/Config/TaskData.cpp +++ b/src/MaaCore/Config/TaskData.cpp @@ -857,8 +857,8 @@ asst::MatchTaskConstPtr asst::TaskData::_default_match_task_info() { auto match_task_info_ptr = std::make_shared(); match_task_info_ptr->templ_names = { "__INVALID__" }; - match_task_info_ptr->templ_thresholds = { TemplThresholdDefault }; - match_task_info_ptr->methods = { MatchMethod::Ccoeff }; + match_task_info_ptr->templ_thresholds = std::vector { TemplThresholdDefault }; + match_task_info_ptr->methods = std::vector { MatchMethod::Ccoeff }; match_task_info_ptr->mask_ranges = {}; match_task_info_ptr->color_scales = {}; match_task_info_ptr->color_close = true;