mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: drop construct Field from SubField for non-Intel
- duplicates existing SubField -> Field conversion method - retain for Intel until we confirm it works there too
This commit is contained in:
@ -166,8 +166,7 @@ Foam::Field<Type>::Field(const Xfer<Field<Type> >& f)
|
||||
{}
|
||||
|
||||
|
||||
#ifndef __GNUC__
|
||||
// Not needed for clang/gcc
|
||||
#ifdef __INTEL_COMPILER
|
||||
template<class Type>
|
||||
Foam::Field<Type>::Field(const typename Field<Type>::subField& sf)
|
||||
:
|
||||
|
||||
@ -176,8 +176,10 @@ public:
|
||||
//- Construct by transferring the Field contents
|
||||
Field(const Xfer<Field<Type> >&);
|
||||
|
||||
#ifdef __INTEL_COMPILER
|
||||
//- Construct as copy of subField
|
||||
Field(const typename Field<Type>::subField&);
|
||||
#endif
|
||||
|
||||
//- Construct as copy of tmp<Field>
|
||||
# ifdef ConstructFromTmp
|
||||
@ -188,7 +190,7 @@ public:
|
||||
Field(Istream&);
|
||||
|
||||
//- Construct from a dictionary entry
|
||||
Field(const word& keyword, const dictionary& dict, const label size);
|
||||
Field(const word& keyword, const dictionary&, const label size);
|
||||
|
||||
//- Clone
|
||||
tmp<Field<Type> > clone() const;
|
||||
|
||||
Reference in New Issue
Block a user