Skip to content

Commit c6f5541

Browse files
pcaspersjenkins
authored andcommitted
QPR-11524 missing qualifier
1 parent 4c68b18 commit c6f5541

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

OREData/ored/configuration/conventions.cpp

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2652,55 +2652,55 @@ void Conventions::addInternal(const boost::shared_ptr<Convention>& convention) c
26522652

26532653
std::ostream& operator<<(std::ostream& out, Convention::Type type) {
26542654
switch (type) {
2655-
case Zero:
2655+
case Convention::Type::Zero:
26562656
return out << "Zero";
2657-
case Deposit:
2657+
case Convention::Type::Deposit:
26582658
return out << "Deposit";
2659-
case Future:
2659+
case Convention::Type::Future:
26602660
return out << "Future";
2661-
case FRA:
2661+
case Convention::Type::FRA:
26622662
return out << "FRA";
2663-
case OIS:
2663+
case Convention::Type::OIS:
26642664
return out << "OIS";
2665-
case Swap:
2665+
case Convention::Type::Swap:
26662666
return out << "Swap";
2667-
case AverageOIS:
2667+
case Convention::Type::AverageOIS:
26682668
return out << "AverageOIS";
2669-
case TenorBasisSwap:
2669+
case Convention::Type::TenorBasisSwap:
26702670
return out << "TenorBasisSwap";
2671-
case TenorBasisTwoSwap:
2671+
case Convention::Type::TenorBasisTwoSwap:
26722672
return out << "TenorBasisTwoSwap";
2673-
case BMABasisSwap:
2673+
case Convention::Type::BMABasisSwap:
26742674
return out << "BMABasisSwap";
2675-
case FX:
2675+
case Convention::Type::FX:
26762676
return out << "FX";
2677-
case CrossCcyBasis:
2677+
case Convention::Type::CrossCcyBasis:
26782678
return out << "CrossCcyBasis";
2679-
case CrossCcyFixFloat:
2679+
case Convention::Type::CrossCcyFixFloat:
26802680
return out << "CrossCcyFixFloat";
2681-
case CDS:
2681+
case Convention::Type::CDS:
26822682
return out << "CDS";
2683-
case IborIndex:
2683+
case Convention::Type::IborIndex:
26842684
return out << "IborIndex";
2685-
case OvernightIndex:
2685+
case Convention::Type::OvernightIndex:
26862686
return out << "OvernightIndex";
2687-
case SwapIndex:
2687+
case Convention::Type::SwapIndex:
26882688
return out << "SwapIndex";
2689-
case ZeroInflationIndex:
2689+
case Convention::Type::ZeroInflationIndex:
26902690
return out << "ZeroInflationIndex";
2691-
case InflationSwap:
2691+
case Convention::Type::InflationSwap:
26922692
return out << "InflationSwap";
2693-
case SecuritySpread:
2693+
case Convention::Type::SecuritySpread:
26942694
return out << "SecuritySpread";
2695-
case CMSSpreadOption:
2695+
case Convention::Type::CMSSpreadOption:
26962696
return out << "CMSSpreadOption";
2697-
case CommodityForward:
2697+
case Convention::Type::CommodityForward:
26982698
return out << "CommodityForward";
2699-
case CommodityFuture:
2699+
case Convention::Type::CommodityFuture:
27002700
return out << "CommodityFuture";
2701-
case FxOption:
2701+
case Convention::Type::FxOption:
27022702
return out << "FxOption";
2703-
case BondYield:
2703+
case Convention::Type::BondYield:
27042704
return out << "BondYield";
27052705
default:
27062706
return out << "unknown convention type (" << static_cast<int>(type) << ")";

0 commit comments

Comments
 (0)