comparison data/midi/MIDIEvent.h @ 1580:c01cbe41aeb5 fix-static-analysis

Use override throughout
author Chris Cannam
date Mon, 26 Nov 2018 13:48:45 +0000
parents 48e9f538e6e9
children ad5f892c0c4d
comparison
equal deleted inserted replaced
1579:232d6ddf257d 1580:c01cbe41aeb5
224 std::cerr << "WARNING: MIDI exception: " 224 std::cerr << "WARNING: MIDI exception: "
225 << message.toLocal8Bit().data() << std::endl; 225 << message.toLocal8Bit().data() << std::endl;
226 } 226 }
227 virtual ~MIDIException() throw() { } 227 virtual ~MIDIException() throw() { }
228 228
229 virtual const char *what() const throw() { 229 const char *what() const throw() override {
230 return m_message.toLocal8Bit().data(); 230 return m_message.toLocal8Bit().data();
231 } 231 }
232 232
233 protected: 233 protected:
234 QString m_message; 234 QString m_message;