Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
bump version to 3.11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
martinus committed Jan 14, 2022
1 parent 91f612c commit 9145f96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.5)
project(robin-hood-hashing
VERSION 3.11.4
VERSION 3.11.5
LANGUAGES CXX
)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
1. Create `conanfile.txt` in your source dir (don't forget to update the version)
```ini
[requires]
robin-hood-hashing/3.11.4
robin-hood-hashing/3.11.5

[generators]
cmake
Expand Down
8 changes: 3 additions & 5 deletions src/include/robin_hood.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// see https://semver.org/
#define ROBIN_HOOD_VERSION_MAJOR 3 // for incompatible API changes
#define ROBIN_HOOD_VERSION_MINOR 11 // for adding functionality in a backwards-compatible manner
#define ROBIN_HOOD_VERSION_PATCH 4 // for backwards-compatible bug fixes
#define ROBIN_HOOD_VERSION_PATCH 5 // for backwards-compatible bug fixes

#include <algorithm>
#include <cstdlib>
Expand Down Expand Up @@ -1837,8 +1837,7 @@ class Table
}

template <typename... Args>
iterator try_emplace(const_iterator hint, const key_type& key,
Args&&... args) {
iterator try_emplace(const_iterator hint, const key_type& key, Args&&... args) {
(void)hint;
return try_emplace_impl(key, std::forward<Args>(args)...).first;
}
Expand All @@ -1860,8 +1859,7 @@ class Table
}

template <typename Mapped>
iterator insert_or_assign(const_iterator hint, const key_type& key,
Mapped&& obj) {
iterator insert_or_assign(const_iterator hint, const key_type& key, Mapped&& obj) {
(void)hint;
return insertOrAssignImpl(key, std::forward<Mapped>(obj)).first;
}
Expand Down

0 comments on commit 9145f96

Please sign in to comment.