Mercurial > hg > svcore
diff data/model/Model.cpp @ 687:06f13a3b9e9e debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:09 +0100 |
parents | b4a8d8221eaf |
children | 1424aa29ae95 |
line wrap: on
line diff
--- a/data/model/Model.cpp Thu May 12 17:31:24 2011 +0100 +++ b/data/model/Model.cpp Mon May 16 17:19:09 2011 +0100 @@ -24,12 +24,12 @@ Model::~Model() { -// std::cerr << "Model::~Model(" << this << ")" << std::endl; +// DEBUG << "Model::~Model(" << this << ")" << endl; if (!m_aboutToDelete) { - std::cerr << "NOTE: Model::~Model(" << this << ", \"" + DEBUG << "NOTE: Model::~Model(" << this << ", \"" << objectName() << "\"): Model deleted " - << "with no aboutToDelete notification" << std::endl; + << "with no aboutToDelete notification" << endl; } if (m_alignment) { @@ -134,7 +134,7 @@ int Model::getAlignmentCompletion() const { -// std::cerr << "Model::getAlignmentCompletion" << std::endl; +// DEBUG << "Model::getAlignmentCompletion" << endl; if (!m_alignment) { if (m_sourceModel) return m_sourceModel->getAlignmentCompletion(); else return 100;