X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/1f4f1b8d6eba48ffb61e1a0965961dd32b3ef29a..05c87a8111143c57ddf2f2111a4e2d0240a6a49e:/test/functor-way.cpp diff --git a/test/functor-way.cpp b/test/functor-way.cpp index b9f3b77..5a58af3 100644 --- a/test/functor-way.cpp +++ b/test/functor-way.cpp @@ -9,7 +9,7 @@ struct handler dispatcher& d; int i; handler(dispatcher& d): d(d), i(0) {} - void operator() (int signum, short event) + void operator() (int signum, eventxx::type event) { std::cout << ++i << " interrupts, "; if (i < 5) std::cout << "keep going...\n";