fvModels: Prevent ambiguity when using the index operator
fvModels should operate primarily like a list of fvModel-s, so the index operator of relevance is the one from its list base class. This has been made explicit to prevent ambiguity associated with the same operator in the dictionary base class.
This commit is contained in:
@ -263,6 +263,9 @@ public:
|
|||||||
|
|
||||||
// Member Operators
|
// Member Operators
|
||||||
|
|
||||||
|
//- Inherit the PtrListDictionary index operators
|
||||||
|
using PtrListDictionary<fvModel>::operator[];
|
||||||
|
|
||||||
//- Disallow default bitwise assignment
|
//- Disallow default bitwise assignment
|
||||||
void operator=(const fvModels&) = delete;
|
void operator=(const fvModels&) = delete;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user