mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Return nullptr instead of false
This commit is contained in:
@@ -97,7 +97,7 @@ RimFishbonesCollection* RicNewFishbonesSubsFeature::selectedFishbonesCollection(
|
||||
{
|
||||
std::vector<caf::PdmUiItem*> allSelectedItems;
|
||||
caf::SelectionManager::instance()->selectedItems(allSelectedItems);
|
||||
if (allSelectedItems.size() != 1u) return false;
|
||||
if (allSelectedItems.size() != 1u) return nullptr;
|
||||
|
||||
RimFishbonesCollection* objToFind = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user