From 8c58d1d56e50934270c170180bd81549d15918fc Mon Sep 17 00:00:00 2001 From: Michal Fratczak Date: Thu, 3 Jun 2021 22:34:03 +0200 Subject: [PATCH] MSVC 19 build fix in ssdv --- code/Decoder/ssdv_wrapper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } };