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

Bug #957565 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

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: 10881
Checker: MISSING_ASSIGN
Category: No category available
CWE definition: No definition available
File: /tmp/buildd/compiz-0.9.7.0~bzr3025/src/pluginclasshandler/include/core/valueholder.h
Function: No function name available
Code snippet:
 33 #include <boost/noncopyable.hpp>
 34
 35 class PrivateValueHolder;
 36
CID 10881 - MISSING_ASSIGN
Class "ValueHolder" owns resources that are managed in its constructor and destructor but has no user-written assignment operator.
 37 class ValueHolder : boost::noncopyable
 38 {
 39 public:
 40
 41 ValueHolder ();
 42 ~ValueHolder ();

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/src/pluginclasshandler/include/core/valueholder.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 10881
+ Coverity MISSING_ASSIGN - CID 10881 -
+ pluginclasshandler/include/core/valueholder.h - Class "ValueHolder" 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
Revision history for this message
Stephen M. Webb (bregma) wrote :

Class inherits from boost::noncopyable, which means compile-time failure if any attempt is made to copy objects of this type.

Changed in compiz:
milestone: 0.9.11.0 → none
status: New → Won't Fix
no longer affects: compiz-core/0.9.5
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.