[mythtv-commits] Ticket #5540: In some instances where the member function is const, the return type does not need the const directive

MythTV mythtv at cvs.mythtv.org
Wed Jul 16 16:53:23 UTC 2008


#5540: In some instances where the member function is const, the return type does
not need the const directive
---------------------------------------------+------------------------------
 Reporter:  Erik Hovland <erik at hovland.org>  |        Owner:  danielk 
     Type:  defect                           |       Status:  assigned
 Priority:  trivial                          |    Milestone:  unknown 
Component:  mythtv                           |      Version:  head    
 Severity:  low                              |   Resolution:          
  Mlocked:  0                                |  
---------------------------------------------+------------------------------
Changes (by danielk):

  * owner:  ijr => danielk
  * status:  new => assigned


Comment:

 The libmythtv patch is an incorrect fix. We should be returning pointers
 to const classes, not const pointers.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5540#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list