Fix macos clang builds

This commit is contained in:
Jason Turner
2015-03-25 14:04:42 -06:00
parent 62337062bf
commit c32a944b9d

View File

@@ -201,7 +201,7 @@ namespace chaiscript
if (p->children[0]->identifier == AST_Node_Type::Id) { if (p->children[0]->identifier == AST_Node_Type::Id) {
return std::map<std::string, int>{{p->children[0]->text, in_loop?99:1}}; return std::map<std::string, int>{{p->children[0]->text, in_loop?99:1}};
} }
return {}; return std::map<std::string, int>();
} else { } else {
std::map<std::string, int> counts; std::map<std::string, int> counts;
for (const auto &child : p->children) { for (const auto &child : p->children) {