Bump version to 4.6.0 in CMakeLists.txt, header file, and Meson build configuration

This commit is contained in:
Martin Leitner-Ankerl
2025-10-08 10:22:55 +02:00
parent 70a0d5ff1d
commit f8059d8273
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.12)
project("unordered_dense"
VERSION 4.5.0
VERSION 4.6.0
DESCRIPTION "A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion"
HOMEPAGE_URL "https://github.com/martinus/unordered_dense")

View File

@@ -1,7 +1,7 @@
///////////////////////// ankerl::unordered_dense::{map, set} /////////////////////////
// A fast & densely stored hashmap and hashset based on robin-hood backward shift deletion.
// Version 4.5.0
// Version 4.6.0
// https://github.com/martinus/unordered_dense
//
// Licensed under the MIT License <http://opensource.org/licenses/MIT>.
@@ -31,7 +31,7 @@
// see https://semver.org/spec/v2.0.0.html
#define ANKERL_UNORDERED_DENSE_VERSION_MAJOR 4 // NOLINT(cppcoreguidelines-macro-usage) incompatible API changes
#define ANKERL_UNORDERED_DENSE_VERSION_MINOR 5 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible functionality
#define ANKERL_UNORDERED_DENSE_VERSION_MINOR 6 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible functionality
#define ANKERL_UNORDERED_DENSE_VERSION_PATCH 0 // NOLINT(cppcoreguidelines-macro-usage) backwards compatible bug fixes
// API versioning with inline namespace, see https://www.foonathan.net/2018/11/inline-namespaces/

View File

@@ -18,7 +18,7 @@
#
project('unordered_dense', 'cpp',
version: '4.5.0',
version: '4.6.0',
license: 'MIT',
default_options : [
'cpp_std=c++17',

View File

@@ -1,7 +1,7 @@
#include <ankerl/unordered_dense.h>
#include <app/doctest.h>
namespace versioned_namespace = ankerl::unordered_dense::v4_5_0;
namespace versioned_namespace = ankerl::unordered_dense::v4_6_0;
static_assert(std::is_same_v<versioned_namespace::map<int, int>, ankerl::unordered_dense::map<int, int>>);
static_assert(std::is_same_v<versioned_namespace::hash<int>, ankerl::unordered_dense::hash<int>>);