office-gobmx/external/frozen/cid1538304_reference_ctor.0
Xisco Fauli ce20d92a2c frozen: upgrade to 1.2.0
* external/frozen/defines_h_constexpr_string.patch.0 is no longer
  necessary

Downloaded from
https://codeload.github.com/serge-sans-paille/frozen/tar.gz/refs/tags/1.2.0

Change-Id: Ie0b8488461860b1aaad3d18d0e76a619aa876c67
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172654
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-08-30 20:09:18 +02:00

33 lines
1.3 KiB
Text

--- include/frozen/map.h 2023-07-22 20:20:19.580400347 +0100
+++ include/frozen/map.h 2023-07-22 20:25:44.893704485 +0100
@@ -96,11 +96,11 @@
public:
/* constructors */
- constexpr map(container_type items, Compare const &compare)
+ constexpr map(const container_type& items, Compare const &compare)
: impl::CompareKey<Compare>{compare}
, items_{bits::quicksort(bits::remove_cv_t<container_type>(items), value_comp())} {}
- 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)
--- include/frozen/set.h 2023-09-29 09:19:22.208195458 +0100
+++ include/frozen/set.h 2023-09-29 09:20:21.175291240 +0100
@@ -59,12 +59,12 @@
/* constructors */
constexpr set(const set &other) = default;
- constexpr set(container_type keys, Compare const & comp)
+ constexpr set(const container_type& keys, Compare const & comp)
: Compare{comp}
, keys_(bits::quicksort(keys, value_comp())) {
}
- explicit constexpr set(container_type keys)
+ explicit constexpr set(const container_type& keys)
: set{keys, Compare{}} {}
constexpr set(std::initializer_list<Key> keys, Compare const & comp)