comparison base/Exceptions.cpp @ 844:f5cd33909744

Drop toStdString, with debug header we can stream QStrings
author Chris Cannam
date Tue, 26 Nov 2013 13:43:31 +0000
parents e802e550a1f2
children 6a94bb528e9d
comparison
equal deleted inserted replaced
843:e802e550a1f2 844:f5cd33909744
124 } 124 }
125 125
126 AllocationFailed::AllocationFailed(QString purpose) throw() : 126 AllocationFailed::AllocationFailed(QString purpose) throw() :
127 m_purpose(purpose) 127 m_purpose(purpose)
128 { 128 {
129 cerr << "ERROR: Allocation failed: " << purpose.toStdString() 129 cerr << "ERROR: Allocation failed: " << purpose
130 << endl; 130 << endl;
131 } 131 }
132 132
133 const char * 133 const char *
134 AllocationFailed::what() const throw() 134 AllocationFailed::what() const throw()