Skip to content

Commit b6e7b29

Browse files
pcaspersjenkins
authored andcommitted
QPR-12561 add inverted quote
1 parent 6a8aaac commit b6e7b29

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

OREData/ored/configuration/curveconfigurations.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ std::set<string> CurveConfigurations::quotes(const QuantLib::ext::shared_ptr<Tod
235235
if (spec->baseType() == CurveSpec::CurveType::FX) {
236236
QuantLib::ext::shared_ptr<FXSpotSpec> fxss = QuantLib::ext::dynamic_pointer_cast<FXSpotSpec>(spec);
237237
QL_REQUIRE(fxss, "Expected an FXSpotSpec but did not get one");
238-
string strQuote = "FX/RATE/" + fxss->unitCcy() + "/" + fxss->ccy();
239-
quotes.insert(strQuote);
238+
quotes.insert("FX/RATE/" + fxss->unitCcy() + "/" + fxss->ccy());
239+
quotes.insert("FX/RATE/" + fxss->ccy() + "/" + fxss->unitCcy());
240240
}
241241
}
242242
}

0 commit comments

Comments
 (0)