We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bafd6c commit 319a0e6Copy full SHA for 319a0e6
1 file changed
OREData/ored/portfolio/referencedata.hpp
@@ -262,7 +262,7 @@ class CommodityIndexReferenceDatum : public IndexReferenceDatum {
262
public:
263
static constexpr const char* TYPE = "Commodity";
264
265
- CommodityIndexReferenceDatum() {setType(TYPE);}
+ CommodityIndexReferenceDatum() {}
266
CommodityIndexReferenceDatum(const string& name) : IndexReferenceDatum(TYPE, name) {}
267
CommodityIndexReferenceDatum(const string& name, const QuantLib::Date& validFrom)
268
: IndexReferenceDatum(TYPE, name, validFrom) {}
0 commit comments