diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2025-01-29 20:57:11 +0100 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2025-05-06 18:07:47 +0200 |
commit | e3db418d47948a7106eab82bd09dacce06606d89 (patch) | |
tree | 041787198acd1a8131a3b9fefac14c29cb57f719 /cad/gmsh/files/patch-src_geo_xyFace.h | |
parent | science/cgnslib: upgrade to v4.5.0 (diff) |
cad/gmsh: chase CGNS 4.5.0
Patch 20c318a4 from upstream.
Obtained from: https://gitlab.onelab.info/gmsh/gmsh/-/commit/20c318a4b945a3c7086a3a95b7bb4b56f2a5029e
Diffstat (limited to 'cad/gmsh/files/patch-src_geo_xyFace.h')
-rw-r--r-- | cad/gmsh/files/patch-src_geo_xyFace.h | 16 |
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 ¶m) const ++ virtual std::pair<SVector3, SVector3> firstDer(const SPoint2 ¶m) 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 |