Validate the value passed to AssTime's constructor rather than allowing the creation of bad times
Originally committed to SVN as r6060.
This commit is contained in:
parent
515ed54f1d
commit
21f94ae72e
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@
|
|||
|
||||
|
||||
/// @brief AssTime constructors
|
||||
AssTime::AssTime () : time(0) { }
|
||||
AssTime::AssTime (int time) : time(time) { }
|
||||
AssTime::AssTime() : time(0) { }
|
||||
AssTime::AssTime(int time) { SetMS(time); }
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue