aboutsummaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 10:08:45 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 10:08:45 +0000
commit58cc2c0d019f32b2cf400051c3d87f2eb76b1584 (patch)
tree526bc1e3ab8b55a30cd2255a0813dd275127b6d1 /win
parent927898ac4cc045dbd8b62e6a438bd5d138f00012 (diff)
downloadtigervnc-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.h4
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();