From 30c2141182f4eed1d3549603a7aa92c57b35d129 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 18 Apr 2015 19:25:22 +0200 Subject: Replace all make_pair calls with initializer lists --- src/codegen.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen.hpp') diff --git a/src/codegen.hpp b/src/codegen.hpp index 7dbfd77..1274346 100644 --- a/src/codegen.hpp +++ b/src/codegen.hpp @@ -72,7 +72,7 @@ public: } void add_arg(const std::string &str, const std::string &name, bool func = false) { - add_arg(std::make_pair(str, name), func); + add_arg({str, name}, func); } function_t(const std::string &type, const std::string &name) : type_name({type + ' ' + name, name}, true) {} -- cgit v1.2.3