Skip to content

Commit

Permalink
Fix compilation issue due to PORT_STATE_CHANGE_QUEUE_SIZE undefined (s…
Browse files Browse the repository at this point in the history
…onic-net#1324)

In PR sonic-net#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.
  • Loading branch information
Ashish1805 authored Nov 21, 2023
1 parent 45cbf14 commit 9804bd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions syncd/PortStateChangeHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

using namespace syncd;

constexpr size_t PortStateChangeHandler::PORT_STATE_CHANGE_QUEUE_SIZE;

PortStateChangeHandler::PortStateChangeHandler(
_In_ std::shared_ptr<swss::SelectableEvent> portStateChangeEvent)
{
Expand Down

0 comments on commit 9804bd7

Please sign in to comment.