Skip to content

Commit

Permalink
⬆️ v1.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-jusiak committed Apr 25, 2024
1 parent 2ce1222 commit 386e0a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
cmake_minimum_required(VERSION 3.21)
project(
mph
VERSION 1.0.8
VERSION 1.0.9
LANGUAGES CXX
)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ constexpr auto policies = []<const auto unknown, const auto keys>(auto&& data, a
> Configuration

```cpp
#define MPH 1'0'8 // Current library version (SemVer)
#define MPH 1'0'9 // Current library version (SemVer)
#define MPH_FIXED_STRING_MAX_SIZE 32u // [default]
#define MPH_ALLOW_UNSAFE_MEMCPY 1 // [enabled by default] Faster but potentially unsafe memcpy, only required for string based keys
#define MPH_PAGE_SIZE 4096u // Only used if MPH_ALLOW_UNSAFE_MEMCPY is enabled
Expand Down
6 changes: 3 additions & 3 deletions mph
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export module mph;
#endif

#ifndef MPH
#define MPH 1'0'8 // SemVer - should match mph namespace
#define MPH 1'0'9 // SemVer - should match mph namespace

#include <algorithm>
#include <climits>
Expand Down Expand Up @@ -54,7 +54,7 @@ export
/**
* Minimal perfect hash function library (https://en.wikipedia.org/wiki/Perfect_hash_function#Minimal_perfect_hash_function)
*/
namespace mph::inline v1_0_8 {
namespace mph::inline v1_0_9 {
template<class T, const std::size_t max_size> struct basic_fixed_string final {
constexpr basic_fixed_string() = default;
template<const std::size_t Size>
Expand Down Expand Up @@ -980,6 +980,6 @@ template<const std::size_t N, class T1, class T2>
static_assert(1 == get<0>(pair{1, 2}));
static_assert(2 == get<1>(pair{1, 2}));
// clang-format on
} // namespace mph::inline v1_0_8
} // namespace mph::inline v1_0_9
#endif // MPH
#endif // __cplusplus

0 comments on commit 386e0a7

Please sign in to comment.