Skip to content

Commit

Permalink
Merge pull request #277 from fmauger/fix-pedantic2
Browse files Browse the repository at this point in the history
Attempt to fix a pedantic error
  • Loading branch information
fmauger authored Mar 19, 2024
2 parents fdffb0f + 197b0d1 commit 9ae2fda
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions source/falaise/snemo/processing/base_tracking_driver.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ namespace snemo {

base_tracking_driver::~base_tracking_driver()
{
if (is_initialized()) {
DT_THROW(std::logic_error, "Tracking driver must be terminated before destruction");
}
DT_THROW_IF(is_initialized(), std::logic_error, "Tracking driver must be terminated before destruction");
return;
}

datatools::logger::priority base_tracking_driver::get_verbosity() const
Expand Down

0 comments on commit 9ae2fda

Please sign in to comment.