mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
AppFwk : Add const
This commit is contained in:
parent
7b71415fc8
commit
37369cb0fb
@ -23,7 +23,7 @@ PdmUiObjectHandle::PdmUiObjectHandle(PdmObjectHandle* owner, bool giveOwnership)
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
PdmUiObjectHandle* uiObj(PdmObjectHandle* obj)
|
PdmUiObjectHandle* uiObj(const PdmObjectHandle* obj)
|
||||||
{
|
{
|
||||||
if (!obj) return nullptr;
|
if (!obj) return nullptr;
|
||||||
PdmUiObjectHandle* uiObject = obj->capability<PdmUiObjectHandle>();
|
PdmUiObjectHandle* uiObject = obj->capability<PdmUiObjectHandle>();
|
||||||
|
@ -104,7 +104,7 @@ private:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
PdmUiObjectHandle* uiObj(PdmObjectHandle* obj);
|
PdmUiObjectHandle* uiObj(const PdmObjectHandle* obj);
|
||||||
|
|
||||||
|
|
||||||
} // End of namespace caf
|
} // End of namespace caf
|
||||||
|
Loading…
Reference in New Issue
Block a user