Commit bb51bcb7 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: Encapsulate warning in debug scope

parent e2b6e323
......@@ -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;
......
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