Skip to content

Commit

Permalink
[202405] Fix compilation error on Buster
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox committed Dec 10, 2024
1 parent 06d3461 commit b889fc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unittest/syncd/TestSyncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

using namespace syncd;

#ifdef MOCK_METHOD
class MockSelectableChannel : public sairedis::SelectableChannel {
public:
MOCK_METHOD(bool, empty, (), (override));
Expand Down Expand Up @@ -59,3 +60,5 @@ TEST_F(SyncdTest, processNotifySyncd)
}));
syncd_object.processEvent(consumer);
}

#endif

0 comments on commit b889fc5

Please sign in to comment.