From 9804bd710034d57a74be55472d30939a5eb21010 Mon Sep 17 00:00:00 2001 From: Ashish Singh Date: Mon, 20 Nov 2023 22:39:16 -0800 Subject: [PATCH] Fix compilation issue due to PORT_STATE_CHANGE_QUEUE_SIZE undefined (#1324) In PR https://github.com/sonic-net/sonic-sairedis/pull/1310, a constexpt static data member was added. Since sairedis repo uses c++14, definition of this data member needs to be provided in .cpp file too. --- syncd/PortStateChangeHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syncd/PortStateChangeHandler.cpp b/syncd/PortStateChangeHandler.cpp index 909649390..ec91eedf2 100644 --- a/syncd/PortStateChangeHandler.cpp +++ b/syncd/PortStateChangeHandler.cpp @@ -6,6 +6,8 @@ using namespace syncd; +constexpr size_t PortStateChangeHandler::PORT_STATE_CHANGE_QUEUE_SIZE; + PortStateChangeHandler::PortStateChangeHandler( _In_ std::shared_ptr portStateChangeEvent) {