mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 11:35:46 +00:00
WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.
This commit is contained in:
parent
69c5830ef2
commit
c68eb15695
9 changed files with 22 additions and 23 deletions
|
@ -32,7 +32,7 @@ public:
|
|||
return available_count > 0;
|
||||
}
|
||||
|
||||
ResultVal<bool> Wait() override {
|
||||
ResultVal<bool> ShouldWait() override {
|
||||
return MakeResult<bool>(!IsAvailable());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue