aboutsummaryrefslogtreecommitdiffstats
path: root/src/can
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-08 22:21:15 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:10:39 +0100
commitbcfaacaa8dfd1d938785e8ebb67fd9b991702f0e (patch)
treec767b586014922965977236c3b98dd3b82a7e023 /src/can
parentc01da10d067038794eb845735e2a7959744ca2b3 (diff)
Add movable constructor to the class
Change-Id: I4d050fda9b189e4d88393013c2b6c893063f24db Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can')
-rw-r--r--src/can/can-bus.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/can/can-bus.hpp b/src/can/can-bus.hpp
index 4443bf2a..0c3709fa 100644
--- a/src/can/can-bus.hpp
+++ b/src/can/can-bus.hpp
@@ -72,6 +72,7 @@ private:
public:
can_bus_t(int conf_file);
+ can_bus_t(can_bus_t&&);
int init_can_dev();
std::vector<std::string> read_conf();