mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-08 01:36:54 +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) {
|
||||
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";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user