aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_tests.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-07 14:22:05 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-05-07 14:22:05 -0700
commite97bec10eafec80d55e6e6b538a94597f3a6425d (patch)
treea59182456af6d5137868a4d99821af9accb02d75 /fish_tests.cpp
parent7763718b60cfef3adbfbd744b9c629ff5c8aa419 (diff)
Remove needs_polling from universal_notifier_t. Add some expository
comments.
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r--fish_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp
index 0f7ef62a..aa9db117 100644
--- a/fish_tests.cpp
+++ b/fish_tests.cpp
@@ -2248,7 +2248,7 @@ static void test_universal()
bool poll_notifier(universal_notifier_t *note)
{
bool result = false;
- if (note->needs_polling())
+ if (note->usec_delay_between_polls() > 0)
{
result = note->poll();
}