mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
autoPtr gets "empty()" method that can be used instead of "! ...valid()"
This commit is contained in:
@ -136,10 +136,10 @@ surfaceSlipDisplacementPointPatchVectorField
|
||||
|
||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||
|
||||
const searchableSurfaces& surfaceSlipDisplacementPointPatchVectorField::
|
||||
surfaces() const
|
||||
const searchableSurfaces&
|
||||
surfaceSlipDisplacementPointPatchVectorField::surfaces() const
|
||||
{
|
||||
if (!surfacesPtr_.valid())
|
||||
if (surfacesPtr_.empty())
|
||||
{
|
||||
surfacesPtr_.reset
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user