Skip to content

Commit 319a0e6

Browse files
Sebastien Bouvardjenkins
authored andcommitted
Remove an addition to CommodityIndexReferenceDatum class that should not be there
1 parent 2bafd6c commit 319a0e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OREData/ored/portfolio/referencedata.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class CommodityIndexReferenceDatum : public IndexReferenceDatum {
262262
public:
263263
static constexpr const char* TYPE = "Commodity";
264264

265-
CommodityIndexReferenceDatum() {setType(TYPE);}
265+
CommodityIndexReferenceDatum() {}
266266
CommodityIndexReferenceDatum(const string& name) : IndexReferenceDatum(TYPE, name) {}
267267
CommodityIndexReferenceDatum(const string& name, const QuantLib::Date& validFrom)
268268
: IndexReferenceDatum(TYPE, name, validFrom) {}

0 commit comments

Comments
 (0)