use std::end instead of end because of MSVC

This commit is contained in:
Jason Turner
2017-01-31 13:28:40 -08:00
parent ca87c05cd4
commit 8efba903c3

View File

@@ -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";
}