diff options
author | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:08:45 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2008-12-10 10:08:45 +0000 |
commit | 58cc2c0d019f32b2cf400051c3d87f2eb76b1584 (patch) | |
tree | 526bc1e3ab8b55a30cd2255a0813dd275127b6d1 /win | |
parent | 927898ac4cc045dbd8b62e6a438bd5d138f00012 (diff) | |
download | tigervnc-58cc2c0d019f32b2cf400051c3d87f2eb76b1584.tar.gz tigervnc-58cc2c0d019f32b2cf400051c3d87f2eb76b1584.zip |
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3349 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/IntervalTimer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/IntervalTimer.h b/win/rfb_win32/IntervalTimer.h index ddfae493..deb2abc6 100644 --- a/win/rfb_win32/IntervalTimer.h +++ b/win/rfb_win32/IntervalTimer.h @@ -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(); |