Commit b558d98c authored by Marcus Mohr's avatar Marcus Mohr
Browse files

Adds NOT_NULLPTR assertions to Function::enableTiming

parent 1643e721
Pipeline #32202 failed with stages
in 35 minutes and 9 seconds
......@@ -86,10 +86,12 @@ public:
timingTree_ = timingTree;
for ( auto & communicator : communicators_ )
{
WALBERLA_ASSERT_NOT_NULLPTR( communicator.second );
communicator.second->enableTiming( timingTree_ );
}
for ( auto & communicator : additiveCommunicators_ )
{
WALBERLA_ASSERT_NOT_NULLPTR( communicator.second );
communicator.second->enableTiming( timingTree_ );
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment