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
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
/// @brief AssTime constructors
|
/// @brief AssTime constructors
|
||||||
AssTime::AssTime() : time(0) { }
|
AssTime::AssTime() : time(0) { }
|
||||||
AssTime::AssTime (int time) : time(time) { }
|
AssTime::AssTime(int time) { SetMS(time); }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue