Coverity MISSING_COPY - CID 10882 - include/core/icon.h - Class "CompIcon" owns resources that are managed in its constructor and destructor but has no user-written copy constructor.

Bug #957578 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
New
Medium
Unassigned
0.9.5
New
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: 10882
Checker: MISSING_COPY
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 10882 - MISSING_COPY
Class "CompIcon" owns resources that are managed in its constructor and destructor but has no user-written copy constructor.
 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_COPY - CID 10882
+ Coverity MISSING_COPY - CID 10882 - include/core/icon.h - Class
+ "CompIcon" owns resources that are managed in its constructor and
+ destructor but has no user-written copy constructor.
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
Revision history for this message
Stephen M. Webb (bregma) wrote :

Object inherits from boost::noncopyable. Any attempt to copy will result in a compile-time failure.

Changed in compiz:
milestone: 0.9.11.0 → none
status: New → 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.