summaryrefslogtreecommitdiffstats
path: root/src/sound/SoundDriver.h
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2021-05-11 16:37:42 +0200
committerMichele Calgaro <[email protected]>2021-05-12 10:47:32 +0900
commit1ee5b51a2493e7726692ba7b656aef32feca1f04 (patch)
treeb34507028ce7938cd7180b95e8182bfca8db36ef /src/sound/SoundDriver.h
parent5c3d4da56026ebd496905033d10ceddbf819c0f9 (diff)
downloadrosegarden-1ee5b51a2493e7726692ba7b656aef32feca1f04.tar.gz
rosegarden-1ee5b51a2493e7726692ba7b656aef32feca1f04.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 <[email protected]> (cherry picked from commit 0e69dfe375f27c3610f0c5e5d88f423c4bcbfe6a)
Diffstat (limited to 'src/sound/SoundDriver.h')
-rw-r--r--src/sound/SoundDriver.h2
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();
}