We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c825a commit c56cac2Copy full SHA for c56cac2
ql/time/asx.cpp
@@ -66,7 +66,7 @@ namespace QuantLib {
66
67
// 1st character needs to represent the correct month
68
const boost::string_view validMonthCodes = mainCycle ? "HMUZ" : All_MONTH_CODES;
69
- return validMonthCodes.contains(std::toupper(in[0]));
+ return validMonthCodes.find(std::toupper(in[0])) != boost::string_view::npos;
70
}
71
72
std::string ASX::code(const Date& date) {
0 commit comments