mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-29 13:58:44 +08:00
Merge remote-tracking branch 'origin/development'
This commit is contained in:
parent
36f19e5423
commit
8a009b6d4d
@ -300,7 +300,7 @@ namespace etl
|
||||
std::pair<iterator, bool> result(i_element, false);
|
||||
|
||||
// Doesn't already exist?
|
||||
if ((i_element == end() || (i_element->first != value.first)))
|
||||
if ((i_element == end()) || TKeyCompare()(i_element->first, value.first) || TKeyCompare()(value.first, i_element->first))
|
||||
{
|
||||
ETL_ASSERT(!refmap_t::full(), ETL_ERROR(flat_map_full));
|
||||
|
||||
|
||||
@ -233,7 +233,7 @@ namespace etl
|
||||
std::pair<iterator, bool> result(i_element, false);
|
||||
|
||||
// Doesn't already exist?
|
||||
if ((i_element == end() || (*i_element != value)))
|
||||
if ((i_element == end()) || TKeyCompare()(*i_element, value) || TKeyCompare()(value, *i_element))
|
||||
{
|
||||
ETL_ASSERT(!refset_t::full(), ETL_ERROR(flat_set_full));
|
||||
|
||||
|
||||
@ -37,13 +37,13 @@ SOFTWARE.
|
||||
/// Definitions of the ETL version
|
||||
///\ingroup utilities
|
||||
|
||||
#define ETL_VERSION "11.14.0"
|
||||
#define ETL_VERSION_W L"11.14.0"
|
||||
#define ETL_VERSION_U16 u"11.14.0"
|
||||
#define ETL_VERSION_U32 U"11.14.0"
|
||||
#define ETL_VERSION "11.14.1"
|
||||
#define ETL_VERSION_W L"11.14.1"
|
||||
#define ETL_VERSION_U16 u"11.14.1"
|
||||
#define ETL_VERSION_U32 U"11.14.1"
|
||||
#define ETL_VERSION_MAJOR 11
|
||||
#define ETL_VERSION_MINOR 14
|
||||
#define ETL_VERSION_PATCH 0
|
||||
#define ETL_VERSION_PATCH 1
|
||||
#define ETL_VERSION_VALUE ((ETL_VERSION_MAJOR * 10000) + (ETL_VERSION_MINOR * 100) + ETL_VERSION_PATCH)
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
===============================================================================
|
||||
11.14.1
|
||||
Removed flat_set & flat_map reliance on equality.
|
||||
|
||||
===============================================================================
|
||||
11.14.0
|
||||
Added tests for limited support for self insert for strings.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user