WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual.

This commit is contained in:
bunnei 2015-01-20 17:41:12 -05:00
parent 69c5830ef2
commit c68eb15695
9 changed files with 22 additions and 23 deletions

View file

@ -28,7 +28,7 @@ public:
bool signaled; ///< Whether the event has already been signaled
std::string name; ///< Name of event (optional)
ResultVal<bool> Wait() override {
ResultVal<bool> ShouldWait() override {
return MakeResult<bool>(!signaled);
}