mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-14 00:48:44 +01:00
[util] Stop using deprecated std::iterator.
This commit is contained in:
parent
9e5c61bf88
commit
2e4caa4c14
@ -297,9 +297,13 @@ namespace dxvk::bit {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
class iterator: public std::iterator<std::input_iterator_tag,
|
class iterator {
|
||||||
uint32_t, uint32_t, const uint32_t*, uint32_t> {
|
|
||||||
public:
|
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)
|
explicit iterator(uint32_t flags)
|
||||||
: m_mask(flags) { }
|
: m_mask(flags) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user