Skip to content

Commit b397241

Browse files
Farah Khashmanjenkins
authored andcommitted
QPR-11670: remove "else continue"
1 parent 8f3ac76 commit b397241

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

OREData/ored/portfolio/capfloor.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,7 @@ const std::map<std::string, boost::any>& CapFloor::additionalData() const {
578578
boost::shared_ptr<CashFlow> c = flow;
579579
if (auto strippedCfc = boost::dynamic_pointer_cast<StrippedCappedFlooredCoupon>(flow)) {
580580
c = strippedCfc->underlying();
581-
} else
582-
continue;
581+
}
583582

584583
if (auto cfc = boost::dynamic_pointer_cast<CappedFlooredCoupon>(c)) {
585584
// enfore coupon pricer to hold the results of the current coupon

0 commit comments

Comments
 (0)