summaryrefslogtreecommitdiff
path: root/cad/gmsh/files/patch-src_geo_xyFace.h
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gmsh/files/patch-src_geo_xyFace.h')
-rw-r--r--cad/gmsh/files/patch-src_geo_xyFace.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/cad/gmsh/files/patch-src_geo_xyFace.h b/cad/gmsh/files/patch-src_geo_xyFace.h
new file mode 100644
index 000000000000..f3e92019390e
--- /dev/null
+++ b/cad/gmsh/files/patch-src_geo_xyFace.h
@@ -0,0 +1,16 @@
+--- src/geo/xyFace.h.orig 2024-03-29 22:07:01 UTC
++++ src/geo/xyFace.h
+@@ -33,11 +33,11 @@ class xyFace : public GFace { (public)
+ SVector3 n(0, 0, 1);
+ return n;
+ }
+- virtual Pair<SVector3, SVector3> firstDer(const SPoint2 &param) const
++ virtual std::pair<SVector3, SVector3> firstDer(const SPoint2 &param) const
+ {
+ SVector3 t1(1, 0, 0);
+ SVector3 t2(0, 1, 0);
+- return Pair<SVector3, SVector3>(t1, t2);
++ return std::make_pair(t1, t2);
+ }
+ virtual void secondDer(const SPoint2 &, SVector3 &a, SVector3 &b,
+ SVector3 &c) const