New Defects reported by Coverity Scan for digiKam

scan-admin at coverity.com scan-admin at coverity.com
Thu Mar 12 10:00:18 GMT 2020


Hi,

Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan.

1 new defect(s) introduced to digiKam found with Coverity Scan.


New defect(s) Reported-by: Coverity Scan
Showing 1 of 1 defect(s)


** CID 1460539:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
/mnt/devel/GIT/7.x/core/libs/database/item/containers/itemposition.h: 46 in ()


________________________________________________________________________________________________________
*** CID 1460539:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
/mnt/devel/GIT/7.x/core/libs/database/item/containers/itemposition.h: 46 in ()
40     namespace Digikam
41     {
42     
43     class CoreDbAccess;
44     class ItemPositionPriv;
45     
>>>     CID 1460539:  Low impact quality  (MISSING_MOVE_ASSIGNMENT)
>>>     Class "Digikam::ItemPosition" 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.
46     class DIGIKAM_DATABASE_EXPORT ItemPosition
47     {
48     
49     public:
50     
51         /**


________________________________________________________________________________________________________
To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/ls/click?upn=nJaKvJSIH-2FPAfmty-2BK5tYpPklAc1eEA-2F1zfUjH6teExFxByfkNnczn62-2Fi7fqgWZX-2BbNxhtyL5c9g-2BPgAq7MT77OPXJ5d6pc1EDZ78vhX68-3DJAEp_IpEMwFcbl-2BY9RHaL2m6a3nuAxB4hfm4MTniX0gHjADWZ-2FfWwRQXS9pRvb6oh4etGgSvzOWXytJefaJj1F0QAbkUs4LVXp4PNiCVlAMUciLtk5KbTvFqKB62-2Bf5xVrnLwBeQ1cgwsGDUIYz01BJksMTKBkUPP-2F6Ob6zzx8qU2eiZvIcFuq7duGMd98s3CRevlfYmUTI-2FYWDHBc-2Fvp7rJZJ4Lddo-2FUlNk-2B7EbI91fu-2F7bBHxq3sdkwYK56TN0wCKyZ



More information about the Digikam-devel mailing list