Andre Puschmann 4 years ago
parent ff53d2b8b8
commit 92d4e6e746

@ -39,7 +39,7 @@ public:
bool empty() const { return stop_ == start_; } bool empty() const { return stop_ == start_; }
auto length() -> decltype(std::declval<T>() - std::declval<T>()) const { return stop_ - start_; } auto length() const -> decltype(std::declval<T>() - std::declval<T>()) { return stop_ - start_; }
void set(T start_point, T stop_point) void set(T start_point, T stop_point)
{ {

@ -155,7 +155,7 @@ public:
const uint8_t* data() const { return msg; } const uint8_t* data() const { return msg; }
uint32_t size() const { return N_bytes; } uint32_t size() const { return N_bytes; }
iterator begin() { return msg; } iterator begin() { return msg; }
const iterator begin() const { return msg; } const_iterator begin() const { return msg; }
iterator end() { return msg + N_bytes; } iterator end() { return msg + N_bytes; }
const_iterator end() const { return msg + N_bytes; } const_iterator end() const { return msg + N_bytes; }

Loading…
Cancel
Save