From 5567e767a3745e3c2e92e11420a5810ad4ebe07b Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Mon, 4 Apr 2016 15:57:14 -0600 Subject: [PATCH] Change some {{ code --- include/chaiscript/language/chaiscript_parser.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/chaiscript/language/chaiscript_parser.hpp b/include/chaiscript/language/chaiscript_parser.hpp index 5f4e5e4..715d90c 100644 --- a/include/chaiscript/language/chaiscript_parser.hpp +++ b/include/chaiscript/language/chaiscript_parser.hpp @@ -147,7 +147,7 @@ namespace chaiscript static const std::array &create_operators() { - static const std::array operators = {{ + static const std::array operators = { { AST_Node_Type::Ternary_Cond, AST_Node_Type::Logical_Or, AST_Node_Type::Logical_And, @@ -159,7 +159,7 @@ namespace chaiscript AST_Node_Type::Shift, AST_Node_Type::Addition, AST_Node_Type::Multiplication - }}; + } }; return operators; } @@ -320,7 +320,7 @@ namespace chaiscript static std::map count_fun_calls(const AST_NodePtr &p, bool in_loop) { if (p->identifier == AST_Node_Type::Fun_Call) { if (p->children[0]->identifier == AST_Node_Type::Id) { - return std::map{{p->children[0]->text, in_loop?99:1}}; + return std::map{ {p->children[0]->text, in_loop?99:1} }; } return std::map(); } else {