replaced assert(false) calls with abort()
This commit is contained in:
@@ -126,7 +126,7 @@ void AudioManager::SetOutputDevice(const QAudioDeviceInfo &info)
|
|||||||
break;
|
break;
|
||||||
case SAMPLE_FMT_COUNT:
|
case SAMPLE_FMT_COUNT:
|
||||||
case SAMPLE_FMT_INVALID:
|
case SAMPLE_FMT_INVALID:
|
||||||
Q_ASSERT(false);
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
output_ = std::unique_ptr<QAudioOutput>(new QAudioOutput(info, format, this));
|
output_ = std::unique_ptr<QAudioOutput>(new QAudioOutput(info, format, this));
|
||||||
|
|||||||
@@ -147,6 +147,6 @@ void ProjectToolbar::ViewButtonClicked()
|
|||||||
emit ViewChanged(olive::ListView);
|
emit ViewChanged(olive::ListView);
|
||||||
} else {
|
} else {
|
||||||
// Assert that it was one of the above buttons
|
// Assert that it was one of the above buttons
|
||||||
Q_ASSERT(false);
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user