diff data/midi/MIDIEvent.h @ 1586:841b2a3e606d

Merge from branch fix-static-analysis
author Chris Cannam
date Wed, 09 Jan 2019 15:24:38 +0000
parents ad5f892c0c4d
children c3b5564cfb78
line wrap: on
line diff
--- a/data/midi/MIDIEvent.h	Wed Jan 09 14:39:50 2019 +0000
+++ b/data/midi/MIDIEvent.h	Wed Jan 09 15:24:38 2019 +0000
@@ -19,8 +19,8 @@
    This file copyright 2000-2006 Richard Bown and Chris Cannam.
 */
 
-#ifndef _MIDI_EVENT_H_
-#define _MIDI_EVENT_H_
+#ifndef SV_MIDI_EVENT_H
+#define SV_MIDI_EVENT_H
 
 #include <QString>
 #include <string>
@@ -226,7 +226,7 @@
     }
     virtual ~MIDIException() throw() { }
 
-    virtual const char *what() const throw() {
+    const char *what() const throw() override {
         return m_message.toLocal8Bit().data();
     }