diff --git a/src/OpenFOAM/algorithms/indexedOctree/volumeType.C b/src/OpenFOAM/algorithms/indexedOctree/volumeType.C index 6fbc4dcc0a57534ded3474cdd6d4c531715b8969..bc6040423c2fbb9f1ef9b63833c074503ce5d761 100644 --- a/src/OpenFOAM/algorithms/indexedOctree/volumeType.C +++ b/src/OpenFOAM/algorithms/indexedOctree/volumeType.C @@ -66,18 +66,11 @@ const Foam::word& Foam::volumeType::str() const Foam::Istream& Foam::operator>>(Istream& is, volumeType& vt) { - // Read beginning of volumeType - is.readBegin("volumeType"); - int val; is >> val; vt.t_ = static_cast<volumeType::type>(val); - // Read end of volumeType - is.readEnd("volumeType"); - - is.check(FUNCTION_NAME); return is; }