From 1d379f54dcd345bea08decda257c62aecf075bb2 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 29 Sep 2010 20:00:05 +0100 Subject: [PATCH] Removed unnecessary cast: derivation (to remove completely) --- src/OpenFOAM/primitives/pTraits/pTraits.H | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/OpenFOAM/primitives/pTraits/pTraits.H b/src/OpenFOAM/primitives/pTraits/pTraits.H index a3408bd42..588c46f54 100644 --- a/src/OpenFOAM/primitives/pTraits/pTraits.H +++ b/src/OpenFOAM/primitives/pTraits/pTraits.H @@ -69,15 +69,16 @@ public: // Member operators - operator PrimitiveType() const - { - return *this; - } + //HJ, unnecessary compilation problems. HJ, 28/Sep/2010 +// operator PrimitiveType() const +// { +// return *this; +// } - operator PrimitiveType&() - { - return *this; - } +// operator PrimitiveType&() +// { +// return *this; +// } };