From e3db418d47948a7106eab82bd09dacce06606d89 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 29 Jan 2025 20:57:11 +0100 Subject: cad/gmsh: chase CGNS 4.5.0 Patch 20c318a4 from upstream. Obtained from: https://gitlab.onelab.info/gmsh/gmsh/-/commit/20c318a4b945a3c7086a3a95b7bb4b56f2a5029e --- cad/gmsh/files/patch-src_geo_xyFace.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 cad/gmsh/files/patch-src_geo_xyFace.h (limited to 'cad/gmsh/files/patch-src_geo_xyFace.h') 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 firstDer(const SPoint2 ¶m) const ++ virtual std::pair firstDer(const SPoint2 ¶m) const + { + SVector3 t1(1, 0, 0); + SVector3 t2(0, 1, 0); +- return Pair(t1, t2); ++ return std::make_pair(t1, t2); + } + virtual void secondDer(const SPoint2 &, SVector3 &a, SVector3 &b, + SVector3 &c) const -- cgit v1.2.3