diff layer/Layer.cpp @ 585:f4960f8ce798 debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:25 +0100
parents 1fe7951a61e8
children 4806715f7a19
line wrap: on
line diff
--- a/layer/Layer.cpp	Thu May 12 17:31:43 2011 +0100
+++ b/layer/Layer.cpp	Mon May 16 17:19:25 2011 +0100
@@ -42,7 +42,7 @@
 
 Layer::~Layer()
 {
-//    std::cerr << "Layer::~Layer(" << this << ")" << std::endl;
+//    DEBUG << "Layer::~Layer(" << this << ")" << endl;
 }
 
 void
@@ -169,7 +169,7 @@
 Layer::alignToReference(View *v, size_t frame) const
 {
     const Model *m = getModel();
-    std::cerr << "Layer::alignToReference(" << frame << "): model = " << m << ", alignment reference = " << (m ? m->getAlignmentReference() : 0) << std::endl;
+    DEBUG << "Layer::alignToReference(" << frame << "): model = " << m << ", alignment reference = " << (m ? m->getAlignmentReference() : 0) << endl;
     if (m && m->getAlignmentReference()) {
         return m->alignToReference(frame);
     } else {
@@ -181,7 +181,7 @@
 Layer::alignFromReference(View *v, size_t frame) const
 {
     const Model *m = getModel();
-    std::cerr << "Layer::alignFromReference(" << frame << "): model = " << m << ", alignment reference = " << (m ? m->getAlignmentReference() : 0) << std::endl;
+    DEBUG << "Layer::alignFromReference(" << frame << "): model = " << m << ", alignment reference = " << (m ? m->getAlignmentReference() : 0) << endl;
     if (m && m->getAlignmentReference()) {
         return m->alignFromReference(frame);
     } else {