mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix: 修复 linux 下的一些 errors
This commit is contained in:
@@ -139,7 +139,7 @@ friend Point& operator Op##= (Point& val, const Point& opd) noexcept { val.x Op#
|
||||
~TextRect() = default;
|
||||
TextRect(const TextRect&) = default;
|
||||
TextRect(TextRect&&) noexcept = default;
|
||||
explicit TextRect(double score, const Rect& rect, const std::string& text)
|
||||
TextRect(double score, const Rect& rect, const std::string& text)
|
||||
: score(score), rect(rect), text(text)
|
||||
{}
|
||||
|
||||
@@ -181,7 +181,7 @@ friend Point& operator Op##= (Point& val, const Point& opd) noexcept { val.x Op#
|
||||
~MatchRect() = default;
|
||||
MatchRect(const MatchRect&) = default;
|
||||
MatchRect(MatchRect&&) noexcept = default;
|
||||
explicit MatchRect(double score, const Rect& rect)
|
||||
MatchRect(double score, const Rect& rect)
|
||||
: score(score), rect(rect)
|
||||
{}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ bool asst::MultiMatchImageAnalyzer::multi_match_templ(const cv::Mat templ)
|
||||
}
|
||||
}
|
||||
if (need_push) {
|
||||
m_result.emplace_back(MatchRect{ value, rect });
|
||||
m_result.emplace_back(value, rect);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user