1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-13 07:08:50 +01:00

[util] Stop using deprecated std::iterator.

This commit is contained in:
Georg Lehmann 2022-06-09 17:18:38 +02:00 committed by Philip Rebohle
parent 9e5c61bf88
commit 2e4caa4c14

View File

@ -297,9 +297,13 @@ namespace dxvk::bit {
public:
class iterator: public std::iterator<std::input_iterator_tag,
uint32_t, uint32_t, const uint32_t*, uint32_t> {
class iterator {
public:
using iterator_category = std::input_iterator_tag;
using value_type = uint32_t;
using difference_type = uint32_t;
using pointer = const uint32_t*;
using reference = uint32_t;
explicit iterator(uint32_t flags)
: m_mask(flags) { }