Skip to content
Snippets Groups Projects
Commit 9aaf17d4 authored by Henry Weller's avatar Henry Weller
Browse files

List: Remove the inherited UList::shallowCopy to avoid accidental misuse

parent fda9aadb
Branches
Tags
1 merge request!33Merge foundation
......@@ -208,6 +208,11 @@ public:
//- Return subscript-checked element of UList.
inline T& newElmt(const label);
//- Disallow implicit shallowCopy
void shallowCopy(const UList<T>&) = delete;
// Member operators
//- Assignment from UList operator. Takes linear time.
......
......@@ -158,7 +158,7 @@ slicedBoundaryField
DimensionedField<Type, GeoMesh>::null()
)
);
bf[patchi].shallowCopy(bField[patchi]);
bf[patchi].UList<Type>::shallowCopy(bField[patchi]);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment