From: Leandro Lucarella Date: Sun, 27 Jan 2008 03:36:24 +0000 (-0200) Subject: Use auto when getting the default loop in the test. X-Git-Tag: 0.1~10 X-Git-Url: https://git.llucax.com/software/ev.d.git/commitdiff_plain/3103f1ab363af3a64dd151bef7e67c4c98601050 Use auto when getting the default loop in the test. --- diff --git a/test.d b/test.d index 27b1c90..56cf1b0 100644 --- a/test.d +++ b/test.d @@ -34,7 +34,7 @@ void main() ev_io stdin_watcher; ev_timer timeout_watcher; - ev_loop_t* loop = ev_default_loop(); + auto loop = ev_default_loop(); /* initialise an io watcher, then start it */ ev_io_init(&stdin_watcher, &stdin_cb, /*STDIN_FILENO*/ 0, READ);