Resolve issues relating to compilation with clang-3.5.0

This commit is contained in:
Henry
2014-12-15 22:38:10 +00:00
parent 41368addc9
commit f4596ad247
52 changed files with 413 additions and 160 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -182,12 +182,12 @@ void Foam::edgeMesh::reset
{
// Take over new primitive data.
// Optimized to avoid overwriting data at all
if (&pointLst)
if (notNull(pointLst))
{
points_.transfer(pointLst());
}
if (&edgeLst)
if (notNull(edgeLst))
{
edges_.transfer(edgeLst());