File tree Expand file tree Collapse file tree 4 files changed +8
-3
lines changed
fboss/agent/platforms/sai Expand file tree Collapse file tree 4 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ class SaiPhyPlatform : public SaiPlatform {
2424 uint8_t pimId,
2525 int phyId);
2626 ~SaiPhyPlatform () override ;
27+ SaiPhyPlatform (const SaiPhyPlatform&) = delete ;
28+ SaiPhyPlatform& operator =(const SaiPhyPlatform&) = delete ;
29+ SaiPhyPlatform (SaiPhyPlatform&&) = delete ;
30+ SaiPhyPlatform& operator =(SaiPhyPlatform&&) = delete ;
2731
2832 uint8_t getPimId () const {
2933 return pimId_;
Original file line number Diff line number Diff line change @@ -31,8 +31,6 @@ const std::set<sai_api_t>& SaiTajoPlatform::getSupportedApiList() const {
3131 return getDefaultSwitchAsicSupportedApis ();
3232}
3333
34- SaiTajoPlatform::~SaiTajoPlatform () {}
35-
3634std::string SaiTajoPlatform::getHwConfig () {
3735 return *config ()->thrift .platform ()->chip ().value ().get_asic ().config ();
3836}
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ class SaiTajoPlatform : public SaiPlatform {
1919 std::unique_ptr<PlatformProductInfo> productInfo,
2020 std::unique_ptr<PlatformMapping> platformMapping,
2121 folly::MacAddress localMac);
22- ~SaiTajoPlatform () override ;
2322
2423 std::optional<SaiSwitchTraits::Attributes::AclFieldList> getAclFieldList ()
2524 const override ;
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ class SaiWedge400CPlatform : public SaiTajoPlatform {
2222 folly::MacAddress localMac,
2323 const std::string& platformMappingStr);
2424 ~SaiWedge400CPlatform () override ;
25+ SaiWedge400CPlatform (const SaiWedge400CPlatform&) = delete ;
26+ SaiWedge400CPlatform& operator =(const SaiWedge400CPlatform&) = delete ;
27+ SaiWedge400CPlatform (SaiWedge400CPlatform&&) = delete ;
28+ SaiWedge400CPlatform& operator =(SaiWedge400CPlatform&&) = delete ;
2529 HwAsic* getAsic () const override ;
2630 std::vector<sai_system_port_config_t > getInternalSystemPortConfig ()
2731 const override ;
You can’t perform that action at this time.
0 commit comments