Modify

Ticket #5106 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

ATSCEvent ctor needs to init member vars

Reported by: Erik Hovland <erik@…> Owned by: danielk
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

The class ATSCEvent default ctor does not init any member vars.

Attachments

libs_libmythtv_eithelper.h-init-ATSCEvent.patch (758 bytes) - added by Erik Hovland <erik@…> 4 years ago.
init ATSCEvent member vars in default ctor

Change History

Changed 4 years ago by Erik Hovland <erik@…>

init ATSCEvent member vars in default ctor

comment:1 Changed 4 years ago by danielk

  • Owner changed from ijr to danielk
  • Status changed from new to assigned

I believe this is intentional for STL happiness + efficiency, but the reason should be documented in the class. I'll verify, and if I'm correct document this.

comment:2 Changed 4 years ago by danielk

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [17117]) Fixes #5106. Documents unusual construction for ATSCEvent.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.