X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/ce13dd6e8fa9f96fc4535c942ac091333c562e64..251b04e775d59064ba0f539a441833400573d2c6:/test/test-eof.cpp?ds=sidebyside diff --git a/test/test-eof.cpp b/test/test-eof.cpp index 41fdaae..4b30013 100644 --- a/test/test-eof.cpp +++ b/test/test-eof.cpp @@ -3,7 +3,7 @@ * c++ -I/usr/local/include -o time-test time-test.c -L/usr/local/lib -levent * * - * Wed 2006-12-27 - Modified by Leandro Lucarella + * Wed 2006-12-27 - Modified by Leandro Lucarella * * Adapted to test the C++ inteface. * @@ -60,7 +60,7 @@ main (int argc, char **argv) shutdown(pair[0], SHUT_WR); /* Initalize one event */ - ev = new eventxx::cevent(pair[1], EV_READ, read_cb, NULL); + ev = new eventxx::cevent(pair[1], eventxx::READ, read_cb, NULL); d.add(*ev);