Commit 97517208 authored by Mark Olesen's avatar Mark Olesen
Browse files

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
parent 9224daad
......@@ -166,8 +166,7 @@ Foam::Field<Type>::Field(const Xfer<Field<Type> >& f)
#ifndef __GNUC__
// Not needed for clang/gcc
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> >&);
//- Construct as copy of subField
Field(const typename Field<Type>::subField&);
//- Construct as copy of tmp<Field>
# ifdef ConstructFromTmp
......@@ -188,7 +190,7 @@ public:
//- 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;
Markdown is supported
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