]> git.llucax.com Git - software/eventxx.git/blobdiff - test/functor-way.cpp
README: Add warning about project being abandoned
[software/eventxx.git] / test / functor-way.cpp
index b9f3b775bb270938cacf944a659542d2ea2e9d84..5a58af3079cd7e3ec85345e7b49ea44980cadd87 100644 (file)
@@ -9,7 +9,7 @@ struct handler
        dispatcher& d;
        int i;
        handler(dispatcher& d): d(d), i(0) {}
        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";
        {
                std::cout << ++i << " interrupts, ";
                if (i < 5) std::cout << "keep going...\n";