zwoop opened a new issue, #10017:
URL: https://github.com/apache/trafficserver/issues/10017
```
*** CID 1513227: Error handling issues (UNCAUGHT_EXCEPT)
/include/tscpp/util/ts_unit_parser.h: 90 in
ts::UnitParser::UnitParser(swoc::_1_5_1::Lexicon<unsigned long> &&, bool)()
84
85 protected:
86 bool _unit_required_p = true; ///< Whether unitless values are
allowed.
87 Units _units; ///< Unit definitions.
88 };
89
CID 1513227: Error handling issues (UNCAUGHT_EXCEPT)
An exception of type "std::bad_variant_access" is thrown but the
exception specification "noexcept" doesn't allow it to be thrown. This will
result in a call to terminate().
90 inline UnitParser::UnitParser(UnitParser::Units &&units, bool
unit_required_p) noexcept
91 : _unit_required_p(unit_required_p), _units(std::move(units))
92 {
93 _units.set_default(value_type{0}); // Used to check for bad unit
names.
94 }
95
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]