mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-12 00:16:10 -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;
|
||||
PdmUiObjectHandle* uiObject = obj->capability<PdmUiObjectHandle>();
|
||||
|
@ -104,7 +104,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
PdmUiObjectHandle* uiObj(PdmObjectHandle* obj);
|
||||
PdmUiObjectHandle* uiObj(const PdmObjectHandle* obj);
|
||||
|
||||
|
||||
} // End of namespace caf
|
||||
|
Loading…
Reference in New Issue
Block a user