svc: Make ResetType an enum class
This commit is contained in:
parent
2f0a61debf
commit
12e92f17de
11 changed files with 23 additions and 24 deletions
|
@ -43,7 +43,7 @@ bool Timer::ShouldWait() {
|
|||
void Timer::Acquire() {
|
||||
ASSERT_MSG( !ShouldWait(), "object unavailable!");
|
||||
|
||||
if (reset_type == RESETTYPE_ONESHOT)
|
||||
if (reset_type == ResetType::OneShot)
|
||||
signaled = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue