summaryrefslogtreecommitdiff
path: root/muse2/muse/part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/part.cpp')
-rw-r--r--muse2/muse/part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/part.cpp b/muse2/muse/part.cpp
index 693512c5..eb5b1af6 100644
--- a/muse2/muse/part.cpp
+++ b/muse2/muse/part.cpp
@@ -23,7 +23,6 @@
//=========================================================
#include <stdio.h>
-#include <assert.h>
#include <cmath>
#include "song.h"
@@ -805,7 +804,8 @@ void PartList::remove(Part* part)
break;
}
}
- assert(i != end());
+ if (i == end())
+ printf("THIS SHOULD NEVER HAPPEN: could not find the part in PartList::remove()!\n");
}
//---------------------------------------------------------