From 185e8424120ed001395d754691bcfcff4092d3f7 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Wed, 28 Mar 2018 16:13:39 +0200 Subject: [PATCH] Fix -Wreaorder error --- src/avtk/clipselector.hxx | 2 +- src/event.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/avtk/clipselector.hxx b/src/avtk/clipselector.hxx index c89ace7..3194bdf 100644 --- a/src/avtk/clipselector.hxx +++ b/src/avtk/clipselector.hxx @@ -107,7 +107,7 @@ public: int ID; // FIXME: NSCENES? - static const int numClips = 10; + static const int numClips = 11; ClipState clips[numClips]; /// indicates if a clip is the "special" clip diff --git a/src/event.hxx b/src/event.hxx index 03d15bf..adf5c3b 100644 --- a/src/event.hxx +++ b/src/event.hxx @@ -616,9 +616,9 @@ public: return sizeof(EventGridInit); } + Avtk::ClipState *clips; int numClips; int track; - Avtk::ClipState *clips; EventGridInit() {}; EventGridInit(Avtk::ClipState * c, int n, int t): clips(c), numClips(n), track(t) {}