diff --git a/code/Decoder/ssdv_wrapper.h b/code/Decoder/ssdv_wrapper.h index 4ff86b1..3bb9d1d 100644 --- a/code/Decoder/ssdv_wrapper.h +++ b/code/Decoder/ssdv_wrapper.h @@ -20,6 +20,7 @@ #pragma once +#include #include #include #include @@ -46,7 +47,7 @@ private: using packet_t_ptr = std::shared_ptr; struct packet_t_ptr_less { // comparator - bool operator()(const packet_t_ptr& lhs, const packet_t_ptr& rhs) { + bool operator()(const packet_t_ptr& lhs, const packet_t_ptr& rhs) const { return lhs->header_.packet_id < rhs->header_.packet_id; } };