mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Encapsulate warning in debug scope
This commit is contained in:
@ -253,7 +253,8 @@ public:
|
||||
//- Increment the nTrackingRescues counter
|
||||
void trackingRescue() const
|
||||
{
|
||||
if (++nTrackingRescues_ % size() == 0)
|
||||
nTrackingRescues_++;
|
||||
if (cloud::debug && nTrackingRescues_ % size() == 0)
|
||||
{
|
||||
Pout<< " " << nTrackingRescues_
|
||||
<< " tracking rescues " << endl;
|
||||
|
||||
Reference in New Issue
Block a user