mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 01:06:54 +08:00
Fix macos clang builds
This commit is contained in:
parent
62337062bf
commit
c32a944b9d
@ -201,7 +201,7 @@ namespace chaiscript
|
||||
if (p->children[0]->identifier == AST_Node_Type::Id) {
|
||||
return std::map<std::string, int>{{p->children[0]->text, in_loop?99:1}};
|
||||
}
|
||||
return {};
|
||||
return std::map<std::string, int>();
|
||||
} else {
|
||||
std::map<std::string, int> counts;
|
||||
for (const auto &child : p->children) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user