Mercurial > hg > svgui
diff layer/SliceLayer.cpp @ 585:f4960f8ce798 debug-output
Convert many cerrs to DEBUGs
author | Chris Cannam |
---|---|
date | Mon, 16 May 2011 17:19:25 +0100 |
parents | 3bf74851d93e |
children | 4806715f7a19 |
line wrap: on
line diff
--- a/layer/SliceLayer.cpp Thu May 12 17:31:43 2011 +0100 +++ b/layer/SliceLayer.cpp Mon May 16 17:19:25 2011 +0100 @@ -73,7 +73,7 @@ void SliceLayer::sliceableModelReplaced(const Model *orig, const Model *replacement) { - std::cerr << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << std::endl; + DEBUG << "SliceLayer::sliceableModelReplaced(" << orig << ", " << replacement << ")" << endl; if (orig == m_sliceableModel) { setSliceableModel @@ -84,7 +84,7 @@ void SliceLayer::modelAboutToBeDeleted(Model *m) { - std::cerr << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << std::endl; + DEBUG << "SliceLayer::modelAboutToBeDeleted(" << m << ")" << endl; if (m == m_sliceableModel) { setSliceableModel(0);