Opened 9 years ago Closed 9 years ago #1409 closed enhancement (wontfix)TComScalingList improvement
Description
Dear colleagues, me faced with the need to re-use code of TComScalingList class and me found that some of its methods like getScalingListAddress return a pointer to the first element in a vector. But all they fail when size of an arranged vector is zero. In other words, one cannot use these methods without prior constructor call. It seems this may be refactored. Change History (2)comment:1 Changed 9 years ago by DefaultCC Plugin
comment:2 Changed 9 years ago by karlsharman
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
The use of the constructor to initialize member variables
prior to their use seems reasonable in this case.