mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no longer needed.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -37,8 +37,6 @@ void Foam::addToFieldList
|
||||
const typename GeoField::Mesh& mesh
|
||||
)
|
||||
{
|
||||
typedef GeoField fieldType;
|
||||
|
||||
if (obj.headerClassName() == GeoField::typeName)
|
||||
{
|
||||
fieldList.set
|
||||
|
||||
Reference in New Issue
Block a user