comparison data/model/Model.cpp @ 690:1424aa29ae95

Seems to be a bad idea to use plain DEBUG symbol on OS/X (system wants it)
author Chris Cannam
date Tue, 14 Jun 2011 15:26:52 +0100
parents 06f13a3b9e9e
children e802e550a1f2
comparison
equal deleted inserted replaced
689:573d45e9487b 690:1424aa29ae95
22 22
23 const int Model::COMPLETION_UNKNOWN = -1; 23 const int Model::COMPLETION_UNKNOWN = -1;
24 24
25 Model::~Model() 25 Model::~Model()
26 { 26 {
27 // DEBUG << "Model::~Model(" << this << ")" << endl; 27 // SVDEBUG << "Model::~Model(" << this << ")" << endl;
28 28
29 if (!m_aboutToDelete) { 29 if (!m_aboutToDelete) {
30 DEBUG << "NOTE: Model::~Model(" << this << ", \"" 30 SVDEBUG << "NOTE: Model::~Model(" << this << ", \""
31 << objectName() << "\"): Model deleted " 31 << objectName() << "\"): Model deleted "
32 << "with no aboutToDelete notification" << endl; 32 << "with no aboutToDelete notification" << endl;
33 } 33 }
34 34
35 if (m_alignment) { 35 if (m_alignment) {
132 } 132 }
133 133
134 int 134 int
135 Model::getAlignmentCompletion() const 135 Model::getAlignmentCompletion() const
136 { 136 {
137 // DEBUG << "Model::getAlignmentCompletion" << endl; 137 // SVDEBUG << "Model::getAlignmentCompletion" << endl;
138 if (!m_alignment) { 138 if (!m_alignment) {
139 if (m_sourceModel) return m_sourceModel->getAlignmentCompletion(); 139 if (m_sourceModel) return m_sourceModel->getAlignmentCompletion();
140 else return 100; 140 else return 100;
141 } 141 }
142 int completion = 0; 142 int completion = 0;