summaryrefslogtreecommitdiffstats
path: root/examples/basic/application-generated.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-12 16:20:00 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2020-01-09 14:40:41 +0100
commit7ea53d8a89912cd0ab00fa4c0957f40ee6c9db8a (patch)
tree6f436c61fc9f8d696a3f25215abc5b9e052459da /examples/basic/application-generated.cpp
parent9cc8fe590162ec91000f1d81dbfd888616afc6ab (diff)
examples: updates
Bug-AGL: SPEC-2988 Change-Id: I9c71038690d301e513f736a3405c3367f64fdbda Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples/basic/application-generated.cpp')
-rw-r--r--examples/basic/application-generated.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic/application-generated.cpp b/examples/basic/application-generated.cpp
index 19857603..bf321067 100644
--- a/examples/basic/application-generated.cpp
+++ b/examples/basic/application-generated.cpp
@@ -34,7 +34,7 @@ application_t::application_t()
, message_set_{
{std::make_shared<message_set_t>(message_set_t{0,"example",
{ // beginning message_definition_ vector
- {std::make_shared<message_definition_t>(message_definition_t{"hs",0x128,"ECM_z_5D2",0,false,message_format_t::STANDARD,frequency_clock_t(5.00000f),true,
+ {std::make_shared<message_definition_t>(message_definition_t{"hs", 0x128,"ECM_z_5D2", 0, false, message_format_t::STANDARD, frequency_clock_t(5.00000f), true,
{ // beginning signals vector
{std::make_shared<signal_t> (signal_t{
"engine_speed",// generic_name
@@ -200,7 +200,7 @@ application_t::application_t()
{
for(std::shared_ptr<message_set_t> cms: message_set_)
{
- std::vector<std::shared_ptr<message_definition_t>> messages_definition = cms->get_messages_definition();
+ vect_ptr_msg_def_t messages_definition = cms->get_messages_definition();
for(std::shared_ptr<message_definition_t> cmd : messages_definition)
{
cmd->set_parent(cms);