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