]> source.dussan.org Git - tigervnc.git/commitdiff
Avoid GCC warning: initializer lists ordered as declarations
authorPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:08:45 +0000 (10:08 +0000)
committerPeter Åstrand <astrand@cendio.se>
Wed, 10 Dec 2008 10:08:45 +0000 (10:08 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3349 3789f03b-4d11-0410-bbf8-ca57d06f2519

win/rfb_win32/IntervalTimer.h

index ddfae4934a95e2a3024277c1850007345ba469b9..deb2abc63b575060b601711081d72ee780d3cdcb 100644 (file)
@@ -29,9 +29,9 @@ namespace rfb {
 
     struct IntervalTimer {
       IntervalTimer(HWND hwnd_, int id_)
-        : active(false), hwnd(hwnd_), id(id_) {
+        : hwnd(hwnd_), id(id_), active(false) {
       }
-      IntervalTimer() : active(false), hwnd(0), id(0) {
+      IntervalTimer() : hwnd(0), id(0), active(false) {
       }
       ~IntervalTimer() {
         stop();