Skip to content

Commit 685ffe2

Browse files
committed
Last small changes
1 parent 2c9a2fb commit 685ffe2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/data_structures/Mesh/MeshData.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ template <typename T>
2727
class ArrayWrapper
2828
{
2929
public:
30-
ArrayWrapper() : iArray(nullptr), iNumOfElements(-1) {}
30+
ArrayWrapper() : iArray(nullptr), iNumOfElements(0) {}
3131
ArrayWrapper(ArrayWrapper &&aObj) {
3232
iArray = aObj.iArray; aObj.iArray = nullptr;
33-
iNumOfElements = aObj.iNumOfElements; aObj.iNumOfElements = -1;
33+
iNumOfElements = aObj.iNumOfElements; aObj.iNumOfElements = 0;
3434
}
3535
ArrayWrapper& operator=(ArrayWrapper&& aObj) {
3636
iArray = aObj.iArray; aObj.iArray = nullptr;
37-
iNumOfElements = aObj.iNumOfElements; aObj.iNumOfElements = -1;
37+
iNumOfElements = aObj.iNumOfElements; aObj.iNumOfElements = 0;
3838
return *this;
3939
}
4040

src/io/hdf5functions_blosc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
#define PARTPLAY_HDF5FUNCTIONS_BLOSC_H
1313

1414
extern "C" {
15-
#include "hdf5.h"
1615
#include "blosc_filter.h"
1716
}
17+
#include "hdf5.h"
1818
#include <string>
1919
#include <algorithm>
2020
#include <iostream>

0 commit comments

Comments
 (0)