Skip to content

Commit

Permalink
byte_view: restore compatibility with Ubuntu Bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
riebl committed Dec 4, 2024
1 parent 8c70334 commit 74d75e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vanetza/common/byte_view.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define BYTE_VIEW_HPP_TXN2ISMB

#include <vanetza/common/byte_buffer.hpp>
#include <boost/core/pointer_traits.hpp>
#include <boost/range/iterator_range.hpp>
#include <iterator>
#include <memory>
Expand All @@ -24,7 +23,7 @@ class byte_view_iterator

byte_view_iterator() = default;
explicit byte_view_iterator(pointer p) : m_iterator(p) {}
explicit byte_view_iterator(const ByteBuffer::const_iterator& it) : m_iterator(boost::to_address(it)) {}
explicit byte_view_iterator(const ByteBuffer::const_iterator& it) : m_iterator(it.operator->()) {}

constexpr value_type operator*() const
{
Expand Down

0 comments on commit 74d75e0

Please sign in to comment.