diff layer/ColourMapper.cpp @ 682:1a0dfcbffaf1

Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author Chris Cannam
date Tue, 26 Nov 2013 14:06:40 +0000
parents aca01b3af29f
children 1d526ba11a24
line wrap: on
line diff
--- a/layer/ColourMapper.cpp	Tue Nov 26 11:16:45 2013 +0000
+++ b/layer/ColourMapper.cpp	Tue Nov 26 14:06:40 2013 +0000
@@ -19,6 +19,8 @@
 
 #include <cmath>
 
+#include "base/Debug.h"
+
 ColourMapper::ColourMapper(int map, float min, float max) :
     QObject(),
     m_map(map),
@@ -26,8 +28,8 @@
     m_max(max)
 {
     if (m_min == m_max) {
-        std::cerr << "WARNING: ColourMapper: min == max (== " << m_min
-                  << "), adjusting" << std::endl;
+        cerr << "WARNING: ColourMapper: min == max (== " << m_min
+                  << "), adjusting" << endl;
         m_max = m_min + 1;
     }
 }