mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1260 Replaced assert() with CAF_ASSERT() in AppFwk
This commit is contained in:
@@ -55,7 +55,6 @@
|
||||
#include <QStatusBar>
|
||||
#include <QString>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
|
||||
@@ -231,7 +230,7 @@ void PdmUiLineEditor::configureAndUpdateUi(const QString& uiConfigName)
|
||||
|
||||
bool fromMenuOnly = true;
|
||||
QList<PdmOptionItemInfo> enumNames = field()->valueOptions(&fromMenuOnly);
|
||||
assert(fromMenuOnly); // Not supported
|
||||
CAF_ASSERT(fromMenuOnly); // Not supported
|
||||
|
||||
if (!enumNames.isEmpty() && fromMenuOnly == true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user