From b9f5265fe94120b8d3871ece071b9ecfb3cd1f95 Mon Sep 17 00:00:00 2001 From: Loïc Collignon Date: Thu, 16 Mar 2017 10:48:04 +0100 Subject: fix in generated braced initializing lists. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Loïc Collignon --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 src/main.cpp (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp old mode 100755 new mode 100644 index 3de298a5..9497b3a5 --- a/src/main.cpp +++ b/src/main.cpp @@ -181,7 +181,7 @@ void generate(const std::string& header, const std::string& footer, const openxc if (header.size()) out << header << "\n"; out << "configuration_t::configuration_t()\n" - << " : can_message_set_" << gen(message_set) << '\n' + << " : can_message_set_{" << gen(message_set) << "}\n" << " , can_message_definition_\n" << " {\n" << gen(message_set.messages(), "\t\t") << '\n' -- cgit 1.2.3-korg