- In debug mode, if any TF2 objects are dirty, they speak up.
This commit is contained in:
Paul Beckingham
2014-08-09 20:26:51 -04:00
parent 9996e5adef
commit 6209529aaa
6 changed files with 8 additions and 0 deletions

View File

@@ -57,6 +57,9 @@ TF2::TF2 ()
////////////////////////////////////////////////////////////////////////////////
TF2::~TF2 ()
{
if (_dirty && context.verbose ("debug"))
std::cout << format (STRING_TDB2_DIRTY_EXIT, _file)
<< "\n";
}
////////////////////////////////////////////////////////////////////////////////