Skip to content

Commit

Permalink
ControlBoardWrapper2, previously generating a deprecation warning at …
Browse files Browse the repository at this point in the history
…startup, is now officially deprecated
  • Loading branch information
randaz81 committed Apr 28, 2022
1 parent 1310854 commit 4d4d474
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/devices/ControlBoardWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ yarp_prepare_plugin(
INCLUDE ControlBoardWrapper.h
EXTRA_CONFIG
WRAPPER=controlboardwrapper2
DEFAULT ON
DEFAULT OFF
DEPENDS "NOT YARP_NO_DEPRECATED" # DEPRECATED Since YARP 3.7
)

if(NOT SKIP_controlboardwrapper2)
Expand Down
2 changes: 1 addition & 1 deletion src/devices/ControlBoardWrapper/ControlBoardWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class SubDevice;
*/

class ControlBoardWrapper :
public yarp::dev::DeviceDriver,
public yarp::dev::DeprecatedDeviceDriver,
public yarp::os::PeriodicThread,
public yarp::dev::IMultipleWrapper,
virtual public ControlBoardWrapperCommon,
Expand Down

0 comments on commit 4d4d474

Please sign in to comment.