mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Resolve issues relating to compilation with clang-3.5.0
This commit is contained in:
@ -98,7 +98,7 @@ const Foam::tensorField& Foam::EulerCoordinateRotation::Tr() const
|
||||
(
|
||||
"const tensorField& EulerCoordinateRotation::Tr() const"
|
||||
);
|
||||
return *reinterpret_cast<const tensorField*>(0);
|
||||
return NullObjectRef<tensorField>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -99,7 +99,7 @@ const Foam::tensorField& Foam::STARCDCoordinateRotation::Tr() const
|
||||
(
|
||||
"const tensorField& STARCDCoordinateRotatio::Tr() const"
|
||||
);
|
||||
return *reinterpret_cast<const tensorField*>(0);
|
||||
return NullObjectRef<tensorField>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -172,7 +172,7 @@ const Foam::tensorField& Foam::axesRotation::Tr() const
|
||||
(
|
||||
"const Foam::tensorField& axesRotation::Tr() const"
|
||||
);
|
||||
return *reinterpret_cast<const tensorField*>(0);
|
||||
return NullObjectRef<tensorField>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user