diff --git a/applications/test/IndirectList2/IndirectList2.H b/applications/test/IndirectList2/IndirectList2.H index 9ce440695a00c7d33dd8056e5c50160288ff1f91..3eb11d0e0498c2fb445b19bd79f26ec862b16951 100644 --- a/applications/test/IndirectList2/IndirectList2.H +++ b/applications/test/IndirectList2/IndirectList2.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -63,6 +63,7 @@ class IndirectListAddressing //- Disallow default bitwise assignment void operator=(const IndirectListAddressing&); + protected: // Constructors @@ -108,6 +109,7 @@ class IndirectList2 //- Disable assignment from UIndirectList void operator=(const UIndirectList<T>&); + public: // Constructors @@ -133,6 +135,7 @@ public: //- Return the list addressing using UIndirectList<T>::addressing; + // Edit //- Reset addressing @@ -143,7 +146,6 @@ public: //- Assignment operator using UIndirectList<T>::operator=; - }; diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H index 2058d4eb930cc1ec9326275630ba0933d513f93b..7e47674b8b78efff001c10fd50e1d53e79cdf946 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolList.H @@ -79,6 +79,7 @@ class PackedBoolList template<class LabelListType> label subsetIndices(const LabelListType& indices); + public: // Constructors @@ -250,7 +251,6 @@ public: //- Remove entries from this list - unset the specified bits inline PackedBoolList& operator-=(const UIndirectList<label>&); - }; diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolListI.H b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolListI.H index edbbc8d0071628c6d56e43b9b57618df8467db9e..793959e59b3aeb73d955fa272a996e83494f4356 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedBoolListI.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedBoolListI.H @@ -124,7 +124,6 @@ inline Foam::Xfer<Foam::PackedBoolList> Foam::PackedBoolList::xfer() } - // * * * * * * * * * * * * * * * Member Operators * * * * * * * * * * * * * // inline Foam::PackedBoolList& diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H index f4cdce7aab9be39c71f8584712aa94c371b5008a..9d970ec05504d29f718b7a2462a5a61d4683bc43 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedList.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedList.H @@ -166,6 +166,7 @@ protected: // For bool specialization, read a single index value inline void setPair(Istream&); + private: //- nBits must be positive (non-zero) and fit within the storage. @@ -180,6 +181,7 @@ private: //- Number of nBits entries label size_; + public: // Public data @@ -623,7 +625,6 @@ public: Ostream&, const PackedList<nBits>& ); - }; diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedListCore.C b/src/OpenFOAM/containers/Lists/PackedList/PackedListCore.C index f596ab39578915d10fdba63120eceb90449570f5..252a0f4008fc6118662eae8f60557d966ab247d2 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedListCore.C +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedListCore.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd. + \\ / A nd | Copyright (C) 2010-2010 OpenCFD Ltd. \\/ M anipulation | ------------------------------------------------------------------------------- License diff --git a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H index ecae704274b20cc203d4f66f2ac9ad959aa14ab6..4b2a00d2511661126d0174463222d40e513c6b6a 100644 --- a/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H +++ b/src/OpenFOAM/containers/Lists/PackedList/PackedListI.H @@ -21,7 +21,6 @@ License You should have received a copy of the GNU General Public License along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>. - \*---------------------------------------------------------------------------*/ #include "error.H"