aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2017-03-16 10:48:04 +0100
committerLoïc Collignon <loic.collignon@iot.bzh>2017-03-16 10:48:04 +0100
commitb9f5265fe94120b8d3871ece071b9ecfb3cd1f95 (patch)
treefcfa39ae200140b775d158d53ddcb994a8d27829
parentfbd0fb6d5f38f7a12f3bebb4a7fb14bd3e6bfb7c (diff)
fix in generated braced initializing lists.
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
-rw-r--r--[-rwxr-xr-x]src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3de298a5..9497b3a5 100755..100644
--- 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'