Coverity MISSING_ASSIGN - CID 10880 - include/core/icon.h - Class "CompIcon" owns resources that are managed in its constructor and destructor but has no user-written assignment operator.

Bug #957575 reported by Product Strategy Coverity Bug Uploader
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Won't Fix
Medium
Unassigned
Compiz Core
Won't Fix
Medium
Unassigned
0.9.5
Won't Fix
Undecided
Unassigned

Bug Description

This bug is exported from the Coverity Integration Manager on Canonical's servers. For information on how this is done please see this website: https://wiki.ubuntu.com/CanonicalProductStrategy/Coverity
CID: 10880
Checker: MISSING_ASSIGN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/compiz-0.9.7.0~bzr3025/include/core/icon.h
Function: No function name available
Code snippet:
 33 #include <boost/noncopyable.hpp>
 34 /**
 35 * Wraps an application icon pixel map and it's meta information (such as dimensions)
 36 */
CID 10880 - MISSING_ASSIGN
Class "CompIcon" owns resources that are managed in its constructor and destructor but has no user-written assignment operator.
 37 class CompIcon : boost::noncopyable {
 38 public:
 39 CompIcon (unsigned width, unsigned int height);
 40 ~CompIcon ();
 41
 42 int width () const { return mSize.width(); }

Revision history for this message
Product Strategy Coverity Bug Uploader (coverity-uploader) wrote : compiz-core-0.9.5: /tmp/buildd/compiz-0.9.7.0~bzr3025/include/core/icon.h

Source file with Coverity annotations.

Changed in compiz-core:
importance: Undecided → Medium
Changed in compiz:
importance: Undecided → Medium
MC Return (mc-return)
summary: - Coverity MISSING_ASSIGN - CID 10880
+ Coverity MISSING_ASSIGN - CID 10880 - include/core/icon.h - Class
+ "CompIcon" owns resources that are managed in its constructor and
+ destructor but has no user-written assignment operator.
Changed in compiz:
milestone: none → 0.9.10.0
Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Stephen M. Webb (bregma)
Changed in compiz:
status: New → Triaged
milestone: 0.9.11.0 → 0.9.12.1
Changed in compiz-core:
status: New → Won't Fix
Revision history for this message
Stephen M. Webb (bregma) wrote :

False positive: class is derived from boost::noncopyable.

Changed in compiz:
milestone: 0.9.12.1 → none
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.