mirror of
https://github.com/enduro2d/enduro2d.git
synced 2025-12-14 16:09:06 +07:00
fix deprecated std::iterator warnings
This commit is contained in:
@@ -118,14 +118,13 @@ namespace e2d
|
||||
namespace e2d
|
||||
{
|
||||
template < typename Tag, typename T, typename TP, typename TR >
|
||||
class intrusive_list_iterator final
|
||||
: public std::iterator<
|
||||
std::bidirectional_iterator_tag,
|
||||
T,
|
||||
ptrdiff_t,
|
||||
TP,
|
||||
TR>
|
||||
{
|
||||
class intrusive_list_iterator final {
|
||||
public:
|
||||
using iterator_category = std::bidirectional_iterator_tag;
|
||||
using value_type = T;
|
||||
using difference_type = ptrdiff_t;
|
||||
using pointer = TP;
|
||||
using reference = TR&;
|
||||
public:
|
||||
using self_type = intrusive_list_iterator;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user