]> git.llucax.com Git - software/ev.d.git/commitdiff
Use auto when getting the default loop in the test.
authorLeandro Lucarella <llucax@gmail.com>
Sun, 27 Jan 2008 03:36:24 +0000 (01:36 -0200)
committerLeandro Lucarella <llucax@gmail.com>
Sun, 27 Jan 2008 03:36:24 +0000 (01:36 -0200)
test.d

diff --git a/test.d b/test.d
index 27b1c903cd1898405a6aa8ad850f9648aef8610c..56cf1b053f3d8a05c60901d64709ea2ce49fa37f 100644 (file)
--- 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);