fix conditional jump / uninitialized value issue detected in valgrind
This commit is contained in:
parent
4fc2c52865
commit
ddf48771bc
1 changed files with 2 additions and 2 deletions
|
@ -451,11 +451,11 @@ namespace MultiArrayHelper
|
||||||
class DynamicExpression : public ExpressionBase
|
class DynamicExpression : public ExpressionBase
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
DynamicExpression() : mThreadId(omp_get_thread_num()) {}
|
|
||||||
|
|
||||||
size_t mThreadId;
|
size_t mThreadId = 0;
|
||||||
std::shared_ptr<ExpressionBase> mNext;
|
std::shared_ptr<ExpressionBase> mNext;
|
||||||
|
|
||||||
|
DynamicExpression() : mThreadId(omp_get_thread_num()) {}
|
||||||
public:
|
public:
|
||||||
|
|
||||||
static constexpr size_t LAYER = 0;
|
static constexpr size_t LAYER = 0;
|
||||||
|
|
Loading…
Reference in a new issue