Skip to content

Commit 796972c

Browse files
[arcane,materials] Supprime méthodes plus utilisées.
1 parent 98b99f3 commit 796972c

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

arcane/src/arcane/core/materials/ComponentItemInternal.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ class ARCANE_CORE_EXPORT ComponentItemSharedInfo
140140

141141
private:
142142

143-
inline constexpr ComponentItemInternal* _itemInternal(ConstituentItemIndex id);
144143
inline constexpr matimpl::ConstituentItemBase _item(ConstituentItemIndex id);
145144
inline ARCCORE_HOST_DEVICE ConstituentItemIndex _firstSubConstituentLocalId(ConstituentItemIndex id) const
146145
{
@@ -455,16 +454,11 @@ class ARCANE_CORE_EXPORT ComponentItemInternal
455454
/*---------------------------------------------------------------------------*/
456455
/*---------------------------------------------------------------------------*/
457456

458-
inline constexpr ComponentItemInternal* ComponentItemSharedInfo::
459-
_itemInternal(ConstituentItemIndex id)
460-
{
461-
return m_component_item_internal_view.ptrAt(id.localId());
462-
}
463-
464457
/*---------------------------------------------------------------------------*/
465458
/*---------------------------------------------------------------------------*/
466459

467-
inline ARCCORE_HOST_DEVICE matimpl::ConstituentItemBase::ConstituentItemBase(ComponentItemInternal* component_item)
460+
inline ARCCORE_HOST_DEVICE matimpl::ConstituentItemBase::
461+
ConstituentItemBase(ComponentItemInternal* component_item)
468462
: m_constituent_item_index(component_item->m_component_item_index)
469463
, m_shared_info(component_item->m_shared_info)
470464
{

0 commit comments

Comments
 (0)