use std::end instead of end because of MSVC
This commit is contained in:
@@ -650,7 +650,7 @@ namespace chaiscript
|
||||
}
|
||||
|
||||
static bool has_this_capture(const std::vector<AST_Node_Impl_Ptr<T>> &children) {
|
||||
return std::any_of(begin(children), end(children),
|
||||
return std::any_of(std::begin(children), std::end(children),
|
||||
[](const auto &child){
|
||||
return child->children[0]->text == "this";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user