Skip to content

Commit

Permalink
Fix: passed() -> hasPassed()
Browse files Browse the repository at this point in the history
  • Loading branch information
sofian committed May 10, 2015
1 parent 742afba commit 4ae6148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Chrono.cpp
Expand Up @@ -86,7 +86,7 @@ bool Chrono::isRunning() const {

void Chrono::delay(unsigned long time) {
time += elapsed();
while (!passed(time));
while (!hasPassed(time));
}

unsigned long Chrono::elapsed() const {
Expand Down

0 comments on commit 4ae6148

Please sign in to comment.