summaryrefslogtreecommitdiff
path: root/cad/gmsh/files/patch-src_geo_Pair.h
blob: d99d6a3bcd43415f0eb43558f0647a8cd372a132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/geo/Pair.h.orig	2024-03-29 22:07:01 UTC
+++ src/geo/Pair.h
@@ -1,26 +0,0 @@
-// Gmsh - Copyright (C) 1997-2024 C. Geuzaine, J.-F. Remacle
-//
-// See the LICENSE.txt file in the Gmsh root directory for license information.
-// Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
-
-#ifndef PAIR_H
-#define PAIR_H
-
-// A pair of values, the types of which can be different
-template <class L, class R> class Pair {
-private:
-  L Left;
-  R Right;
-
-public:
-  Pair() {}
-  Pair(const L &left, const R &right) : Left(left), Right(right) {}
-  L left() const { return Left; }
-  void left(const L &left) { Left = left; }
-  R right() const { return Right; }
-  void right(const R &right) { Right = right; }
-  L first() const { return Left; }
-  R second() const { return Right; }
-};
-
-#endif