mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Avoid use of CAF_ASSERT in application code
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include "RimSummaryPlotCollection.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
|
||||
#include "cafAssert.h"
|
||||
#include "cafPdmUiItem.h"
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
@@ -58,7 +57,7 @@ void RicDeleteSubItemsFeature::onActionTriggered(bool isChecked)
|
||||
std::vector<caf::PdmUiItem*> items;
|
||||
caf::SelectionManager::instance()->selectedItems(items);
|
||||
|
||||
CAF_ASSERT(items.size() > 0);
|
||||
CVF_ASSERT(items.size() > 0);
|
||||
|
||||
for (auto item : items)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user