@@ -187,7 +187,7 @@ void LoadTOFRawNexus::countPixels(const std::string &nexusfilename, const std::s
187
187
188
188
// Count how many pixels in the bank
189
189
file.openData (" pixel_id" );
190
- std::vector<int64_t > const dims = file.getInfo ().dims ;
190
+ std::vector<int64_t > dims = file.getInfo ().dims ;
191
191
file.closeData ();
192
192
193
193
if (!dims.empty ()) {
@@ -200,11 +200,11 @@ void LoadTOFRawNexus::countPixels(const std::string &nexusfilename, const std::s
200
200
201
201
// Get the number of pixels from the offsets arrays
202
202
file.openData (" x_pixel_offset" );
203
- std::vector<int64_t > const xdim = file.getInfo ().dims ;
203
+ std::vector<int64_t > xdim = file.getInfo ().dims ;
204
204
file.closeData ();
205
205
206
206
file.openData (" y_pixel_offset" );
207
- std::vector<int64_t > const ydim = file.getInfo ().dims ;
207
+ std::vector<int64_t > ydim = file.getInfo ().dims ;
208
208
file.closeData ();
209
209
210
210
if (!xdim.empty () && !ydim.empty ()) {
@@ -215,7 +215,7 @@ void LoadTOFRawNexus::countPixels(const std::string &nexusfilename, const std::s
215
215
if (bankEntries.find (m_axisField) != bankEntries.end ()) {
216
216
// Get the size of the X vector
217
217
file.openData (m_axisField);
218
- std::vector<int64_t > const dims = file.getInfo ().dims ;
218
+ std::vector<int64_t > dims = file.getInfo ().dims ;
219
219
// Find the units, if available
220
220
if (file.hasAttr (" units" ))
221
221
file.getAttr (" units" , m_xUnits);
0 commit comments