fix.改了些有的没的报错,修复一处崩溃问题

This commit is contained in:
MistEO
2021-12-27 00:58:52 +08:00
parent 37b526672f
commit dc3d48ab71
42 changed files with 3069 additions and 3059 deletions

View File

@@ -33,7 +33,7 @@ bool asst::TemplResource::exist_templ(const std::string& key) const noexcept
return m_templs.find(key) != m_templs.cend();
}
const cv::Mat& asst::TemplResource::get_templ(const std::string& key) const noexcept
const cv::Mat asst::TemplResource::get_templ(const std::string& key) const noexcept
{
if (auto iter = m_templs.find(key);
iter != m_templs.cend()) {