]> git.llucax.com Git - software/eventxx.git/blobdiff - test/bench.cpp
Use eventxx constants for dispatch flags in benchmark test.
[software/eventxx.git] / test / bench.cpp
index be6a8c73bba2c19e3fb5ae3921ea68b6167b7859..b466806481611d1f2b0217e727c8885f2d880590 100644 (file)
@@ -93,7 +93,7 @@ run_once(void)
                d.add(*events[i]);
        }
 
                d.add(*events[i]);
        }
 
-       d.dispatch(EVLOOP_ONCE | EVLOOP_NONBLOCK);
+       d.dispatch(eventxx::ONCE | eventxx::NONBLOCK);
 
        fired = 0;
        space = num_pipes / num_active;
 
        fired = 0;
        space = num_pipes / num_active;