GitHub user zwoop opened an issue:

    https://github.com/apache/trafficserver/issues/1284

    CID 1367523:    (MISSING_MOVE_ASSIGNMENT): tsconfig/IntrusivePtr.

    ```
    *** CID 1367523:    (MISSING_MOVE_ASSIGNMENT)
    /lib/tsconfig/IntrusivePtr.h: 134 in ()
    128         ownded by a set of pointers. When the last of the pointers is 
destructed
    129         the target object is also destructed.
    130     
    131         The smart pointer actions can be changed through class specific 
policy
    132         by specializing the @c IntrusivePtrPolicy template class.
    133     */
       CID 1367523:    (MISSING_MOVE_ASSIGNMENT)
       Class "ts::IntrusivePtr<ts::Errata::Data>" may benefit from adding a 
move assignment operator. See other events which show the copy assignment 
operator being applied to rvalue(s), where a move assignment may be faster.
    134     template <typename T> class IntrusivePtr : private IntrusivePtrBase
    135     {
    136     private:                          /* don't pollute client with 
these typedefs */
    137       typedef IntrusivePtrBase super; ///< Parent type.
    138       typedef IntrusivePtr self;      ///< Self reference type.
    139     
    /lib/tsconfig/IntrusivePtr.h: 134 in ()
    128         ownded by a set of pointers. When the last of the pointers is 
destructed
    129         the target object is also destructed.
    130     
    131         The smart pointer actions can be changed through class specific 
policy
    132         by specializing the @c IntrusivePtrPolicy template class.
    133     */
       CID 1367523:    (MISSING_MOVE_ASSIGNMENT)
       Class "ts::IntrusivePtr<ts::config::detail::ValueTableImpl>" may benefit 
from adding a move assignment operator. See other events which show the copy 
assignment operator being applied to rvalue(s), where a move assignment may be 
faster.
    134     template <typename T> class IntrusivePtr : private IntrusivePtrBase
    135     {
    136     private:                          /* don't pollute client with 
these typedefs */
    137       typedef IntrusivePtrBase super; ///< Parent type.
    138       typedef IntrusivePtr self;      ///< Self reference type.
    139     
    
    ```

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to