mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-06 17:59:56 +08:00
use std::end instead of end because of MSVC
This commit is contained in:
parent
ca87c05cd4
commit
8efba903c3
@ -650,7 +650,7 @@ namespace chaiscript
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool has_this_capture(const std::vector<AST_Node_Impl_Ptr<T>> &children) {
|
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){
|
[](const auto &child){
|
||||||
return child->children[0]->text == "this";
|
return child->children[0]->text == "this";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user