Workaround MSVC 2015 compilation error.

This commit is contained in:
levlam 2023-04-19 01:40:12 +03:00
parent cd20d62c9c
commit af54239018
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ class FlatHashTable {
struct Iterator {
using iterator_category = std::forward_iterator_tag;
using difference_type = std::ptrdiff_t;
using value_type = FlatHashTable::value_type;
using value_type = typename NodeT::public_type;
using pointer = value_type *;
using reference = value_type &;
@ -108,7 +108,7 @@ class FlatHashTable {
struct ConstIterator {
using iterator_category = std::forward_iterator_tag;
using difference_type = std::ptrdiff_t;
using value_type = FlatHashTable::value_type;
using value_type = typename NodeT::public_type;
using pointer = const value_type *;
using reference = const value_type &;