Skip to content

Commit

Permalink
ControlBoardRemapperTest: cleanup after deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicogene committed May 18, 2018
1 parent e19b502 commit e904202
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/libYARP_dev/ControlBoardRemapperTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class ControlBoardRemapperTest : public UnitTest

void checkRemapper(yarp::dev::PolyDriver & ddRemapper, int rand, size_t nrOfRemappedAxes)
{
IPositionControl2 *pos = nullptr;
IPositionControl *pos = nullptr;
bool ok = ddRemapper.view(pos);
checkTrue(ok, "interface position correctly opened");
int axes = 0;
Expand All @@ -87,7 +87,7 @@ class ControlBoardRemapperTest : public UnitTest
ok = ddRemapper.view(encs);
checkTrue(ok, "encoders interface correctly opened");

IControlMode2 *ctrlmode = nullptr;
IControlMode *ctrlmode = nullptr;
ok = ddRemapper.view(ctrlmode);
checkTrue(ok, "control mode interface correctly opened");

Expand Down

0 comments on commit e904202

Please sign in to comment.