Skip to content

Commit

Permalink
Merge pull request #1357 from fspindle/fix_without_threads
Browse files Browse the repository at this point in the history
Fix build when USE_THREADS is turned off
  • Loading branch information
fspindle authored Mar 26, 2024
2 parents 5420cec + 43d1fe8 commit 802f4e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/robot/test/qbdevice/testQbSoftHand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

int main()
{
#ifdef VISP_HAVE_QBDEVICE
#if defined(VISP_HAVE_QBDEVICE) && defined(VISP_HAVE_THREADS)
std::cout << "Test qbSoftHand device" << std::endl;
try {
vpQbSoftHand qbsofthand;
Expand Down Expand Up @@ -94,7 +94,8 @@ int main()
}
}
std::cout << "The end" << std::endl;
} catch (const vpException &e) {
}
catch (const vpException &e) {
std::cout << "Catch exception: " << e.getStringMessage() << std::endl;
}
#else
Expand Down

0 comments on commit 802f4e7

Please sign in to comment.