]> git.llucax.com Git - software/eventxx.git/blobdiff - test/bench.cpp
Spell checked.
[software/eventxx.git] / test / bench.cpp
index e621ed067fed3509efd97787c6b4a6bbb3247f92..ca495a73efb180dc40686dd13cc785c9749284d8 100644 (file)
@@ -88,8 +88,8 @@ run_once(void)
        static eventxx::time ts, te;
 
        for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) {
-               events.push_back(new eventxx::cevent(cp[0], EV_READ | EV_PERSIST,
-                       read_cb, (void *) i));
+               events.push_back(new eventxx::cevent(cp[0],
+                       eventxx::READ | eventxx::PERSIST, read_cb, (void *) i));
                d.add(*events[i]);
        }