diff options
author | François Andriot <francois.andriot@free.fr> | 2021-05-11 16:37:42 +0200 |
---|---|---|
committer | François Andriot <francois.andriot@free.fr> | 2021-05-11 16:37:42 +0200 |
commit | 0e69dfe375f27c3610f0c5e5d88f423c4bcbfe6a (patch) | |
tree | 73a8728bac7d4af653d34b2185930ee787afb831 /src/sound/SoundDriver.h | |
parent | fc17dba5a7c236bdbd3607ab7e5171c66a51bb2f (diff) | |
download | rosegarden-0e69dfe375f27c3610f0c5e5d88f423c4bcbfe6a.tar.gz rosegarden-0e69dfe375f27c3610f0c5e5d88f423c4bcbfe6a.zip |
Fix ftbfs on Fedora 34
error: ISO C++17 does not allow dynamic exception specifications
error: static assertion failed: comparison object must be invocable as const
Signed-off-by: François Andriot <francois.andriot@free.fr>
Diffstat (limited to 'src/sound/SoundDriver.h')
-rw-r--r-- | src/sound/SoundDriver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound/SoundDriver.h b/src/sound/SoundDriver.h index 84df63f..d99076c 100644 --- a/src/sound/SoundDriver.h +++ b/src/sound/SoundDriver.h @@ -98,7 +98,7 @@ public: struct NoteOffEventCmp { - bool operator()(NoteOffEvent *nO1, NoteOffEvent *nO2) + bool operator()(NoteOffEvent *nO1, NoteOffEvent *nO2) const { return nO1->getRealTime() < nO2->getRealTime(); } |