Skip to content

Commit

Permalink
fix clang compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxiaobai24 committed Mar 30, 2022
1 parent 1471a31 commit 98e7af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/function/FunctionManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2716,7 +2716,7 @@ FunctionManager::FunctionManager() {
std::regex rgx(args[1].get().getStr());
List res;
for (std::sregex_iterator beg(s.begin(), s.end(), rgx), end{}; beg != end; ++beg) {
res.emplace_back(std::move(beg->str()));
res.emplace_back(move(beg->str()));
}
return res;
};
Expand Down

0 comments on commit 98e7af0

Please sign in to comment.