diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-11-04 03:42:52 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-11-04 03:42:52 +0000 |
| commit | 7bd795a16675dafbf093826231f0d1bc026bdf84 (patch) | |
| tree | 23f071a03adcfcae1b8248cfdc9c91bdb27d4b40 | |
| parent | 3aec15bc52eeeae3dbd3b10cdb1ce5f2f1595763 (diff) | |
math/libmesh: Fix build on 15 with clang-19
| -rw-r--r-- | math/libmesh/files/patch-include_systems_parameter__accessor.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/math/libmesh/files/patch-include_systems_parameter__accessor.h b/math/libmesh/files/patch-include_systems_parameter__accessor.h new file mode 100644 index 000000000000..a47628127f22 --- /dev/null +++ b/math/libmesh/files/patch-include_systems_parameter__accessor.h @@ -0,0 +1,18 @@ +--- include/systems/parameter_accessor.h.orig 2024-11-04 03:11:10 UTC ++++ include/systems/parameter_accessor.h +@@ -112,13 +112,14 @@ class ParameterProxy (public) + /** + * Setter: change the value of the parameter we access. + */ ++#if 0 // fix build with clang-19: https://github.com/libMesh/libmesh/issues/3991 + ParameterProxy & operator = (const ParameterProxy<T> & new_value) { _accessor.set(new_value.get()); } + + /** + * Setter: change the value of the parameter we access. + */ + ParameterProxy & operator = (const ConstParameterProxy<T> & new_value) { _accessor.set(new_value.get()); return *this; } +- ++#endif + /** + * Setter: change the value of the parameter we access. + */ |
