/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:27: error: ‘make_unique’ is not a member of ‘std’
151 | field0Ptr_ = std::make_unique<this_type>(field0, this->mesh());
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:151:48: error: expected primary-expression before ‘>’ token
151 | field0Ptr_ = std::make_unique<this_type>(field0, this->mesh());
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In copy constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::GeometricField<Type, PatchField, GeoMesh>&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:27: error: ‘make_unique’ is not a member of ‘std’
573 | field0Ptr_ = std::make_unique<this_type>(*gf.field0Ptr_);
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:573:48: error: expected primary-expression before ‘>’ token
573 | field0Ptr_ = std::make_unique<this_type>(*gf.field0Ptr_);
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:27: error: ‘make_unique’ is not a member of ‘std’
616 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:616:48: error: expected primary-expression before ‘>’ token
616 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::word&, const Foam::GeometricField<Type, PatchField, GeoMesh>&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:27: error: ‘make_unique’ is not a member of ‘std’
663 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:663:48: error: expected primary-expression before ‘>’ token
663 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const Foam::word&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:27: error: ‘make_unique’ is not a member of ‘std’
711 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:711:48: error: expected primary-expression before ‘>’ token
711 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const wordList&, const wordList&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:27: error: ‘make_unique’ is not a member of ‘std’
747 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:747:48: error: expected primary-expression before ‘>’ token
747 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In constructor ‘Foam::GeometricField<Type, PatchField, GeoMesh>::GeometricField(const Foam::IOobject&, const Foam::GeometricField<Type, PatchField, GeoMesh>&, const labelList&, const Foam::word&)’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:27: error: ‘make_unique’ is not a member of ‘std’
776 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:776:48: error: expected primary-expression before ‘>’ token
776 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In member function ‘const Foam::GeometricField<Type, PatchField, GeoMesh>& Foam::GeometricField<Type, PatchField, GeoMesh>::oldTime() const’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:27: error: ‘make_unique’ is not a member of ‘std’
949 | field0Ptr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:27: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:949:48: error: expected primary-expression before ‘>’ token
949 | field0Ptr_ = std::make_unique<this_type>
| ^
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C: In member function ‘void Foam::GeometricField<Type, PatchField, GeoMesh>::storePrevIter() const’:
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:34: error: ‘make_unique’ is not a member of ‘std’
1003 | fieldPrevIterPtr_ = std::make_unique<this_type>
| ^~~~~~~~~~~
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:34: note: ‘std::make_unique’ is only available from C++14 onwards
/home/ycc/OpenFOAM/OpenFOAM-10/src/OpenFOAM/lnInclude/GeometricField.C:1003:55: error: expected primary-expression before ‘>’ token
1003 | fieldPrevIterPtr_ = std::make_unique<this_type>
| ^
最新发布