Skip to content

Commit bb77f3b

Browse files
author
Julian LALU
committed
fix compilation
1 parent b24e8a6 commit bb77f3b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

interface/core/containers/hashmap.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,15 @@ namespace hud
172172
template<
173173
typename key_t,
174174
typename value_t,
175-
typename hash_t = details::hashmap::default_hasher<key_t>,
175+
typename hasher_t = details::hashmap::default_hasher<key_t>,
176176
typename key_equal_t = details::hashmap::default_equal<key_t>,
177177
typename allocator_t = heap_allocator>
178178
class hashmap
179-
: details::hashmap::hashmap_impl<details::hashmap::slot<key_t, value_t>, hash_t, key_equal_t, allocator_t>
179+
: details::hashmap::hashmap_impl<details::hashmap::slot<key_t, value_t>, hasher_t, key_equal_t, allocator_t>
180180

181181
{
182182
private:
183-
using super = details::hashmap::hashmap_impl<details::hashmap::slot<key_t, value_t>, hash_t, key_equal_t, allocator_t>;
183+
using super = details::hashmap::hashmap_impl<details::hashmap::slot<key_t, value_t>, hasher_t, key_equal_t, allocator_t>;
184184

185185
public:
186186
/** Type of the hash function. */

interface/core/containers/hashset.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,20 @@ namespace hud
1818

1919
template<
2020
typename value_t,
21-
typename hasher_type = details::hashmap::default_hasher<value_t>,
21+
typename hasher_t = details::hashmap::default_hasher<value_t>,
2222
typename key_equal_t = details::hashmap::default_equal<value_t>,
2323
typename allocator_t = heap_allocator>
2424
class hashset
25-
: details::hashmap::hashmap_impl<details::hashset::slot<value_t>, hasher_type, key_equal_t, allocator_t>
25+
: details::hashmap::hashmap_impl<details::hashset::slot<value_t>, hasher_t, key_equal_t, allocator_t>
2626
{
2727
private:
28-
using super = details::hashmap::hashmap_impl<details::hashset::slot<value_t>, hasher_type, key_equal_t, allocator_t>;
28+
using super = details::hashmap::hashmap_impl<details::hashset::slot<value_t>, hasher_t, key_equal_t, allocator_t>;
2929

3030
public:
3131
/** Type of the hash function. */
32-
using typename super::hasher_type;
32+
using hasher_type = typename super::hasher_type;
3333
/** Type of the value. */
34-
using typename super::value_type;
34+
using value_type = typename super::value_type;
3535

3636
using super::super;
3737
};

0 commit comments

Comments
 (0)