comparison base/StorageAdviser.cpp @ 687:06f13a3b9e9e debug-output

Convert many cerrs to DEBUGs
author Chris Cannam
date Mon, 16 May 2011 17:19:09 +0100
parents 57f3eec55957
children 1424aa29ae95
comparison
equal deleted inserted replaced
686:b4a8d8221eaf 687:06f13a3b9e9e
34 StorageAdviser::recommend(Criteria criteria, 34 StorageAdviser::recommend(Criteria criteria,
35 int minimumSize, 35 int minimumSize,
36 int maximumSize) 36 int maximumSize)
37 { 37 {
38 #ifdef DEBUG_STORAGE_ADVISER 38 #ifdef DEBUG_STORAGE_ADVISER
39 std::cerr << "StorageAdviser::recommend: Criteria " << criteria 39 DEBUG << "StorageAdviser::recommend: Criteria " << criteria
40 << ", minimumSize " << minimumSize 40 << ", minimumSize " << minimumSize
41 << ", maximumSize " << maximumSize << std::endl; 41 << ", maximumSize " << maximumSize << endl;
42 #endif 42 #endif
43 43
44 if (m_baseRecommendation != NoRecommendation) { 44 if (m_baseRecommendation != NoRecommendation) {
45 return m_baseRecommendation; // for now 45 return m_baseRecommendation; // for now
46 } 46 }