encoder: use contructor to initialize the vector 02/23302/4
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 10 Dec 2019 09:08:15 +0000 (10:08 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 15:25:36 +0000 (16:25 +0100)
commit0e786385e547a247f96fce164d38712d0f59298e
tree13dc576cc4c0dc1e3f8c58c43d135398bd06082e
parentfe780799e8117ac30f9c05bcd43616638f35e66a
encoder: use contructor to initialize the vector

Instead of initilizing using a for loop...
Also fixes a wrong watched bit using a bcm socket

Change-Id: Ib65a3da06dbd249c97b8ec11823247120505d545
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/can-encoder.cpp