diff options
author | 2014-05-07 14:22:05 -0700 | |
---|---|---|
committer | 2014-05-07 14:22:05 -0700 | |
commit | e97bec10eafec80d55e6e6b538a94597f3a6425d (patch) | |
tree | a59182456af6d5137868a4d99821af9accb02d75 /fish_tests.cpp | |
parent | 7763718b60cfef3adbfbd744b9c629ff5c8aa419 (diff) |
Remove needs_polling from universal_notifier_t. Add some expository
comments.
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 2 |
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(); } |