Open echo-Mike opened 6 years ago
The std::iterator class template is depricated (LINK1, LINK2) in C++17 and may be removed from future releases of C++ standard. Plase remove inheritance from Tins::SnifferIterator at: https://github.com/mfontanini/libtins/blob/3659d89c257676da6e6ddf6298252aecc5756bdb/include/tins/sniffer.h#L452 If You still need types defined by std::iterator then add them by hand in Tins::SnifferIterator class deffinition:
std::iterator
Tins::SnifferIterator
typedef iterator_category std::forward_iterator_tag; typedef value_type Packet; typedef difference_type std::ptrdiff_t; typedef pointer Packet*; typedef reference Packet&;
The
std::iterator
class template is depricated (LINK1, LINK2) in C++17 and may be removed from future releases of C++ standard.Plase remove inheritance from
Tins::SnifferIterator
at: https://github.com/mfontanini/libtins/blob/3659d89c257676da6e6ddf6298252aecc5756bdb/include/tins/sniffer.h#L452If You still need types defined by
std::iterator
then add them by hand inTins::SnifferIterator
class deffinition: