We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53f80f4 commit 45bbcbbCopy full SHA for 45bbcbb
tests/cpp_unit_tests/test_job_dispatch.cpp
@@ -99,6 +99,7 @@ class JobAdapterMock : public JobInterface<JobAdapterMock> {
99
void setup_impl(MockUpdateDataset const& /*update_data*/, Idx /*scenario_idx*/) const { ++(counter_->setup_calls); }
100
void winddown_impl() const { ++(counter_->winddown_calls); }
101
void reset_logger_impl() {
102
+ if (counter_ ==
103
nullptr) { // this if statement may be encountered when the destructor is called on a moved object
104
REQUIRE_MESSAGE(logger_ == nullptr,
105
"Dangling references encountered; not all clean-ups have gone correctly");
0 commit comments