bneradt opened a new pull request, #12164:
URL: https://github.com/apache/trafficserver/pull/12164
Spaces before _sv literals in operator"" declarations are deprecated for
-std=c++20. This removes those spaces in the TextView.h declarations.
This addresses the following warning:
```
include/swoc/TextView.h:2088:12: error: identifier '_sv' preceded by
whitespace in a literal operator declaration is deprecated
[-Werror,-Wdeprecated-literal-operator]
2088 | operator"" _sv(const char *s, size_t n) {
| ~~~~~~~~~~~^~~
| operator""_sv
include/swoc/TextView.h:2103:12: error: identifier '_tv' preceded by
whitespace in a literal operator declaration is deprecated
[-Werror,-Wdeprecated-literal-operator]
2103 | operator"" _tv(const char *s, size_t n) {
| ~~~~~~~~~~~^~~
| operator""_tv
```
--
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]