Use subscription's sockets as shared_ptr
[apps/agl-service-can-low-level.git] / examples / engine / application-generated.cpp
index cc123b7..c8e6a1e 100644 (file)
@@ -1,5 +1,6 @@
 #include "application.hpp"
 #include "../can/can-decoder.hpp"
+#include "../can/can-encoder.hpp"
 
 application_t::application_t()
        : can_bus_manager_{utils::config_parser_t{"/etc/dev-mapping.conf"}}
@@ -40,7 +41,7 @@ application_t::application_t()
                                                        {
                                                        },
                                                        false,
-                                                       decoder_t::booleanDecoder,
+                                                       decoder_t::decode_boolean,
                                                        nullptr,
                                                        false
                                                })},
@@ -120,7 +121,7 @@ application_t::application_t()
                                                        {
                                                        },
                                                        false,
-                                                       decoder_t::booleanDecoder,
+                                                       decoder_t::decode_boolean,
                                                        nullptr,
                                                        false
                                                })}