replaced assert(false) calls with abort()

This commit is contained in:
itsmattkc
2019-11-30 02:45:47 +11:00
parent 16f4ec8468
commit eb970fc293
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ void AudioManager::SetOutputDevice(const QAudioDeviceInfo &info)
break;
case SAMPLE_FMT_COUNT:
case SAMPLE_FMT_INVALID:
Q_ASSERT(false);
abort();
}
output_ = std::unique_ptr<QAudioOutput>(new QAudioOutput(info, format, this));
+1 -1
View File
@@ -147,6 +147,6 @@ void ProjectToolbar::ViewButtonClicked()
emit ViewChanged(olive::ListView);
} else {
// Assert that it was one of the above buttons
Q_ASSERT(false);
abort();
}
}