Fix applyFlags when testing is disabled

This commit is contained in:
Vinnie Falco
2015-07-22 20:48:34 -07:00
committed by Edward Hennis
parent 8cd44c637d
commit fa900de548

View File

@@ -370,7 +370,9 @@ Env::st (JTx const& jt)
ApplyFlags
Env::applyFlags() const
{
return tapENABLE_TESTING;
if (testing_)
return tapENABLE_TESTING;
return tapNONE;
}
} // jtx