maskit opened a new issue, #10355:
URL: https://github.com/apache/trafficserver/issues/10355

   TSVConnFd.cc
   ```
   484  class _Send_recv : private Send_to_vconn, private Recv_from_vconn
   485  {
   486  public:
   487    _Send_recv(TSVConn vconn_, std::shared_ptr<File_deleter> f_del, int 
n_groups_send, int n_group_bytes, bool allow_send_error,
   488               int n_bytes_recv)
        
   CID 1518577 (#1 of 1): COPY_INSTEAD_OF_MOVE (COPY_INSTEAD_OF_MOVE)
   1. copy_constructor_call: f_del is copied in call to copy constructor 
std::shared_ptr<<unnamed>::File_deleter>, when it could be moved instead.
        Use std::move(f_del) instead of f_del.
   489      : Send_to_vconn{vconn_, n_groups_send * n_group_bytes}, 
Recv_from_vconn(vconn_), _f_del{f_del}
   490    {
   ```
   
   


-- 
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-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to