Mercurial > hg > svcore
comparison data/fileio/CSVFileReader.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 |
---|---|
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 CSVFileReader::~CSVFileReader() | 60 CSVFileReader::~CSVFileReader() |
61 { | 61 { |
62 DEBUG << "CSVFileReader::~CSVFileReader: file is " << m_file << endl; | 62 SVDEBUG << "CSVFileReader::~CSVFileReader: file is " << m_file << endl; |
63 | 63 |
64 if (m_file) { | 64 if (m_file) { |
65 DEBUG << "CSVFileReader::CSVFileReader: Closing file" << endl; | 65 SVDEBUG << "CSVFileReader::CSVFileReader: Closing file" << endl; |
66 m_file->close(); | 66 m_file->close(); |
67 } | 67 } |
68 delete m_file; | 68 delete m_file; |
69 } | 69 } |
70 | 70 |
343 // std::cerr << "WARNING: Too many warnings" << std::endl; | 343 // std::cerr << "WARNING: Too many warnings" << std::endl; |
344 } | 344 } |
345 } | 345 } |
346 } | 346 } |
347 | 347 |
348 // DEBUG << "Setting bin values for count " << lineno << ", frame " | 348 // SVDEBUG << "Setting bin values for count " << lineno << ", frame " |
349 // << frameNo << ", time " << RealTime::frame2RealTime(frameNo, sampleRate) << endl; | 349 // << frameNo << ", time " << RealTime::frame2RealTime(frameNo, sampleRate) << endl; |
350 | 350 |
351 model3->setColumn(lineno, values); | 351 model3->setColumn(lineno, values); |
352 } | 352 } |
353 | 353 |