Replace NonCopyable in CAN inheritance.
This commit moves the deletion of copy constructor and copy assignment operators to the `mbed::interface::can` class, where both `mbed::CAN` and `mbed::interface::CAN` inherit enum types from. This allows `NonCopyable` to be removed from the inheritance list.
ls
1 parent d79446c commit d39a4168ec0a7d440959ebd16f2b439bd76b2ced
@George Beckstein George Beckstein authored on 7 May 2021
Showing 2 changed files
View
drivers/include/drivers/CAN.h
View
drivers/include/drivers/interfaces/InterfaceCAN.h