Skip to content

Commit

Permalink
libdeng2: Method for checking if an Observers set is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Apr 5, 2013
1 parent aaa80cb commit de93d83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doomsday/libdeng2/include/de/data/observers.h
Expand Up @@ -228,6 +228,10 @@ namespace de
}
return 0;
}

bool isEmpty() const {
return size() == 0;
}

iterator begin() {
checkExists();
Expand Down

0 comments on commit de93d83

Please sign in to comment.