We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a8aaac commit b6e7b29Copy full SHA for b6e7b29
1 file changed
OREData/ored/configuration/curveconfigurations.cpp
@@ -235,8 +235,8 @@ std::set<string> CurveConfigurations::quotes(const QuantLib::ext::shared_ptr<Tod
235
if (spec->baseType() == CurveSpec::CurveType::FX) {
236
QuantLib::ext::shared_ptr<FXSpotSpec> fxss = QuantLib::ext::dynamic_pointer_cast<FXSpotSpec>(spec);
237
QL_REQUIRE(fxss, "Expected an FXSpotSpec but did not get one");
238
- string strQuote = "FX/RATE/" + fxss->unitCcy() + "/" + fxss->ccy();
239
- quotes.insert(strQuote);
+ quotes.insert("FX/RATE/" + fxss->unitCcy() + "/" + fxss->ccy());
+ quotes.insert("FX/RATE/" + fxss->ccy() + "/" + fxss->unitCcy());
240
}
241
242
0 commit comments