diff --git a/src/OpenFOAM/primitives/Pair/Pair.H b/src/OpenFOAM/primitives/Pair/Pair.H index 22d2172bfad9e38679a177db44dc94c28dcb36f5..db9589d6aced91b4695dd4652b6f9c954469edb6 100644 --- a/src/OpenFOAM/primitives/Pair/Pair.H +++ b/src/OpenFOAM/primitives/Pair/Pair.H @@ -50,6 +50,13 @@ See also namespace Foam { +// Forward declarations +template<class T> class Pair; + +// Common pair types +typedef Pair<label> labelPair; //!< A pair of labels + + /*---------------------------------------------------------------------------*\ Class Pair Declaration \*---------------------------------------------------------------------------*/ @@ -163,7 +170,6 @@ public: return seed; } }; - }; diff --git a/src/OpenFOAM/primitives/Pair/labelPair.H b/src/OpenFOAM/primitives/Pair/labelPair.H index 01e7419951c94c502c3e913eb535eb10a871af01..f4f81158df02af6226661c8c623591b999dd8769 100644 --- a/src/OpenFOAM/primitives/Pair/labelPair.H +++ b/src/OpenFOAM/primitives/Pair/labelPair.H @@ -23,12 +23,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/>. -Typedef - Foam::labelPair - -Description - A pair of labels. - Typedef Foam::labelPairPair @@ -66,7 +60,6 @@ Description namespace Foam { - typedef Pair<label> labelPair; typedef Pair<labelPair> labelPairPair; typedef List<labelPair> labelPairList; typedef UList<labelPair> labelPairUList;