mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
add use of missingSet in release build to silence warning
This commit is contained in:
parent
c5e02c4ec5
commit
d10bd6857d
1 changed files with 3 additions and 0 deletions
|
@ -254,6 +254,9 @@ void SequenceNumberStatsTests::pruneTest() {
|
|||
|
||||
const QSet<quint16>& missingSet = stats.getMissingSet();
|
||||
assert(missingSet.size() <= 1000);
|
||||
if (missingSet.size() > 1000) {
|
||||
qDebug() << "FAIL: missingSet larger than 1000.";
|
||||
}
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
assert(missingSet.contains(highestSkipped2));
|
||||
|
|
Loading…
Reference in a new issue