Skip to content

Commit d1a1eac

Browse files
generatedunixname537391475639613meta-codesync[bot]
authored andcommitted
fbcode/fboss/agent/platforms/sai
Reviewed By: jasmeetbagga Differential Revision: D91196667 fbshipit-source-id: 45d4719160cbe645aae19439b4700f2f846bf219
1 parent d269aae commit d1a1eac

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

fboss/agent/platforms/sai/SaiPhyPlatform.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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_;

fboss/agent/platforms/sai/SaiTajoPlatform.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ const std::set<sai_api_t>& SaiTajoPlatform::getSupportedApiList() const {
3131
return getDefaultSwitchAsicSupportedApis();
3232
}
3333

34-
SaiTajoPlatform::~SaiTajoPlatform() {}
35-
3634
std::string SaiTajoPlatform::getHwConfig() {
3735
return *config()->thrift.platform()->chip().value().get_asic().config();
3836
}

fboss/agent/platforms/sai/SaiTajoPlatform.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

fboss/agent/platforms/sai/SaiWedge400CPlatform.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)