diff options
Diffstat (limited to 'external')
-rw-r--r-- | external/frozen/UnpackedTarball_frozen.mk | 1 | ||||
-rw-r--r-- | external/frozen/cid1538304_reference_ctor.0 | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/external/frozen/UnpackedTarball_frozen.mk b/external/frozen/UnpackedTarball_frozen.mk index 196cf1e00fdc..b33a05c7dbd8 100644 --- a/external/frozen/UnpackedTarball_frozen.mk +++ b/external/frozen/UnpackedTarball_frozen.mk @@ -14,6 +14,7 @@ $(eval $(call gb_UnpackedTarball_set_tarball,frozen,$(FROZEN_TARBALL))) $(eval $(call gb_UnpackedTarball_add_patches,frozen,\ external/frozen/defines_h_constexpr_string.patch.0 \ external/frozen/cid1532449_use_move_ctor.0 \ + external/frozen/cid1538304_reference_ctor.0 \ )) # vim: set noet sw=4 ts=4: diff --git a/external/frozen/cid1538304_reference_ctor.0 b/external/frozen/cid1538304_reference_ctor.0 new file mode 100644 index 000000000000..8ed0a7533fd4 --- /dev/null +++ b/external/frozen/cid1538304_reference_ctor.0 @@ -0,0 +1,16 @@ +--- include/frozen/map.h 2023-07-22 20:20:19.580400347 +0100 ++++ include/frozen/map.h 2023-07-22 20:25:44.893704485 +0100 +@@ -94,11 +94,11 @@ + + public: + /* constructors */ +- constexpr map(container_type items, Compare const &compare) ++ constexpr map(const container_type& items, Compare const &compare) + : less_than_{compare} + , items_{bits::quicksort(items, less_than_)} {} + +- explicit constexpr map(container_type items) ++ explicit constexpr map(const container_type& items) + : map{items, Compare{}} {} + + constexpr map(std::initializer_list<value_type> items, Compare const &compare) |