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:
parent
9e5c61bf88
commit
2e4caa4c14
@ -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) { }
|
||||
|
Loading…
Reference in New Issue
Block a user