Skip to content
Snippets Groups Projects
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
Branches
Tags
No related merge requests found
......@@ -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;
......
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