X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/3de7450f04f8d9cd241eb600da57cbe0539aa62c..e956850cb32b3964152704e83db15fd93b157e43:/test/test-weof.cpp diff --git a/test/test-weof.cpp b/test/test-weof.cpp index 90f2c08..8bcf684 100644 --- a/test/test-weof.cpp +++ b/test/test-weof.cpp @@ -20,15 +20,15 @@ #include #include -#include +#include typedef void (cb_t)(int, short); int pair[2]; int test_okay = 1; int called = 0; -event::dispatcher d; -event::event< cb_t >* ev; +eventxx::dispatcher d; +eventxx::event< cb_t >* ev; void write_cb(int fd, short event) @@ -61,7 +61,7 @@ main (int argc, char **argv) return (1); /* Initalize one event */ - ev = new event::event< cb_t >(pair[1], EV_WRITE, write_cb); + ev = new eventxx::event< cb_t >(pair[1], EV_WRITE, write_cb); d.add(*ev);