Skip to content

Commit 3b7244c

Browse files
committed
Fix warnings
1 parent ce92d02 commit 3b7244c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Framework/Core/include/Framework/Array2D.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -166,26 +166,26 @@ class LabeledArray : public LabelMap
166166
using element_t = T;
167167

168168
LabeledArray()
169-
: values{},
170-
LabelMap{}
169+
: LabelMap{},
170+
values{}
171171
{
172172
}
173173

174174
LabeledArray(T const* data, uint32_t rows_, uint32_t cols_, std::vector<std::string> labels_rows_ = {}, std::vector<std::string> labels_cols_ = {})
175-
: values{data, rows_, cols_},
176-
LabelMap{rows_, cols_, labels_rows_, labels_cols_}
175+
: LabelMap{rows_, cols_, labels_rows_, labels_cols_},
176+
values{data, rows_, cols_}
177177
{
178178
}
179179

180180
LabeledArray(T const* data, uint32_t size, std::vector<std::string> labels_ = {})
181-
: values{data, 1, size},
182-
LabelMap{size, labels_}
181+
: LabelMap{size, labels_},
182+
values{data, 1, size}
183183
{
184184
}
185185

186186
LabeledArray(Array2D<T> const& data, std::vector<std::string> labels_rows_ = {}, std::vector<std::string> labels_cols_ = {})
187-
: values{data},
188-
LabelMap{data.rows, data.cols, labels_rows_, labels_cols_}
187+
: LabelMap{data.rows, data.cols, labels_rows_, labels_cols_},
188+
values{data}
189189
{
190190
}
191191

0 commit comments

Comments
 (0)