diff --git a/CMakeLists.txt b/CMakeLists.txt index a70d99e7..c1a307a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.12) project("unordered_dense" - VERSION 3.0.1 + VERSION 3.0.2 DESCRIPTION "A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion" HOMEPAGE_URL "https://github.com/martinus/unordered_dense") diff --git a/include/ankerl/unordered_dense.h b/include/ankerl/unordered_dense.h index 1566f224..de0a1374 100644 --- a/include/ankerl/unordered_dense.h +++ b/include/ankerl/unordered_dense.h @@ -1,7 +1,7 @@ ///////////////////////// ankerl::unordered_dense::{map, set} ///////////////////////// // A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion. -// Version 3.0.1 +// Version 3.0.2 // https://github.com/martinus/unordered_dense // // Licensed under the MIT License . @@ -32,7 +32,7 @@ // see https://semver.org/spec/v2.0.0.html #define ANKERL_UNORDERED_DENSE_VERSION_MAJOR 3 // NOLINT(cppcoreguidelines-macro-usage) incompatible API changes #define ANKERL_UNORDERED_DENSE_VERSION_MINOR 0 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible functionality -#define ANKERL_UNORDERED_DENSE_VERSION_PATCH 1 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible bug fixes +#define ANKERL_UNORDERED_DENSE_VERSION_PATCH 2 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible bug fixes // API versioning with inline namespace, see https://www.foonathan.net/2018/11/inline-namespaces/ #define ANKERL_UNORDERED_DENSE_VERSION_CONCAT1(major, minor, patch) v##major##_##minor##_##patch diff --git a/meson.build b/meson.build index cfb2427a..d76acda8 100644 --- a/meson.build +++ b/meson.build @@ -18,7 +18,7 @@ # project('unordered_dense', 'cpp', - version: '3.0.1', + version: '3.0.2', license: 'MIT', default_options : ['cpp_std=c++17', 'warning_level=3', 'werror=true']) diff --git a/test/unit/namespace.cpp b/test/unit/namespace.cpp index e19ec1f1..ea0d661f 100644 --- a/test/unit/namespace.cpp +++ b/test/unit/namespace.cpp @@ -2,10 +2,10 @@ #include -static_assert(std::is_same_v, ankerl::unordered_dense::map>); -static_assert(std::is_same_v, ankerl::unordered_dense::hash>); +static_assert(std::is_same_v, ankerl::unordered_dense::map>); +static_assert(std::is_same_v, ankerl::unordered_dense::hash>); TEST_CASE("version_namespace") { - auto map = ankerl::unordered_dense::v3_0_1::map{}; + auto map = ankerl::unordered_dense::v3_0_2::map{}; REQUIRE(map.empty()); } diff --git a/test/unit/pmr.cpp b/test/unit/pmr.cpp index 656a7c78..b26b4cb4 100644 --- a/test/unit/pmr.cpp +++ b/test/unit/pmr.cpp @@ -13,7 +13,7 @@ #if ANKERL_UNORDERED_DENSE_PMR # if __has_include() -# include +# include class logging_memory_resource : public std::pmr::memory_resource { auto do_allocate(std::size_t bytes, std::size_t alignment) -> void* override { @@ -145,7 +145,7 @@ void show([[maybe_unused]] track_peak_memory_resource const& mr, [[maybe_unused] } // windows' vector has different allocation behavior -# ifndef _WIN32 +# ifndef _WIN32 TEST_CASE("pmr_copy") { auto mr1 = track_peak_memory_resource(); auto map1 = ankerl::unordered_dense::pmr::map(&mr1); @@ -219,7 +219,7 @@ TEST_CASE("pmr_move_same_mr") { REQUIRE(mr1.num_deallocs() == 2); REQUIRE(mr1.num_is_equals() == 0); } -# endif +# endif # endif #endif