sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
172 stars 522 forks source link

who's pops() function #1770

Open yinshuisiquan opened 3 years ago

yinshuisiquan commented 3 years ago

https://github.com/Azure/sonic-swss/blob/5847af35f856dffa5ad82a32df2fdf88493319ba/orchagent/orch.cpp#L219 The Class ConsumerTableBase has no member pops() function, and the base class TableEntryPoppable only defines a pure virtual function pops(). So I have some doubts about this line call

zhangyanzhao commented 3 years ago

@yinshuisiquan can you please refer to the swss cli https://github.com/Azure/sonic-swss-common/blob/master/common/consumerstatetable.cpp#L36

yinshuisiquan commented 3 years ago

@yinshuisiquan can you please refer to the swss cli https://github.com/Azure/sonic-swss-common/blob/master/common/consumerstatetable.cpp#L36

Thank You! Now I got it.