Dear developers,

Anyway, I just would like to thank you this great lib. Its c++ interface is very comfortable for me, I like it.

For a reference, www.real-charts.com is using libev as its main component in its websocket streaming application.

Regards,

Kojedzinszky Richard

On Mon, 1 Aug 2011, Richard Kojedzinszky wrote:

Dear ev developers,

I am using undocumented features of ev++.h, and found that in ev++.h on line 516, the static_cast casts to a const expression, but the ev_feed_event() function expects a non-const one. So a simple patch could fix this:

--- ev++.h      2011-08-01 11:20:42.430785301 +0200
+++ ev++.h.fixed        2011-08-01 11:21:39.578985555 +0200
@@ -513,7 +513,7 @@

    void feed_event (int revents) throw ()
    {
-      ev_feed_event (EV_A_ static_cast<const ev_watcher *>(this), revents);
+      ev_feed_event (EV_A_ static_cast<ev_watcher *>(this), revents);
    }
  };

Regards,
Kojedzinszky Richard


_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to