X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/ce13dd6e8fa9f96fc4535c942ac091333c562e64..d8f5a98473b01893208ed1fececff69ba76297a2:/test/bench.cpp diff --git a/test/bench.cpp b/test/bench.cpp index e621ed0..ca495a7 100644 --- a/test/bench.cpp +++ b/test/bench.cpp @@ -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]); }