You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "maskit (via GitHub)" <gi...@apache.org> on 2023/09/14 18:18:58 UTC
[GitHub] [trafficserver] maskit opened a new issue, #10434: CID 1508847: AUTO_CAUSES_COPY
maskit opened a new issue, #10434:
URL: https://github.com/apache/trafficserver/issues/10434
sslheaders/util.cc
```
81 // Push sep to point to the field selector.
82 selector = sep + 1;
CID 1508847 (#1 of 1): AUTO_CAUSES_COPY (AUTO_CAUSES_COPY)
1. auto_causes_copy: Using the auto keyword without an & causes the copy of an object of type _f.
Use auto & instead of auto.
83 for (auto field : fields) {
84 if (strcmp(selector, field.name) == 0) {
85 exp.field = field.field;
86 return true;
87 }
88 }
```
--
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: issues-unsubscribe@trafficserver.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] CID 1508847: AUTO_CAUSES_COPY [trafficserver]
Posted by "maskit (via GitHub)" <gi...@apache.org>.
maskit closed issue #10434: CID 1508847: AUTO_CAUSES_COPY
URL: https://github.com/apache/trafficserver/issues/10434
--
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: issues-unsubscribe@trafficserver.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org