Mercurial > hg > svgui
diff widgets/SubdividingMenu.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 | 4806715f7a19 |
children | e4773943c9c1 |
line wrap: on
line diff
--- a/widgets/SubdividingMenu.cpp Tue Nov 26 11:16:45 2013 +0000 +++ b/widgets/SubdividingMenu.cpp Tue Nov 26 14:06:40 2013 +0000 @@ -17,6 +17,8 @@ #include <iostream> +#include "base/Debug.h" + using std::set; using std::map; @@ -81,7 +83,7 @@ firstInitialInChunk = initial; } -// std::cerr << "count = "<< count << ", upper limit = " << m_upperLimit << std::endl; +// cerr << "count = "<< count << ", upper limit = " << m_upperLimit << endl; bool lastInChunk = (k == entries.end() || (count >= m_lowerLimit-1 && @@ -134,7 +136,7 @@ SubdividingMenu::entriesAdded() { if (m_entriesSet) { - std::cerr << "ERROR: SubdividingMenu::entriesAdded: setEntries was also called -- should use one mechanism or the other, but not both" << std::endl; + cerr << "ERROR: SubdividingMenu::entriesAdded: setEntries was also called -- should use one mechanism or the other, but not both" << endl; return; }