fix conditional jump / uninitialized value issue detected in valgrind

This commit is contained in:
Christian Zimmermann 2020-08-31 17:49:52 +02:00
parent 4fc2c52865
commit ddf48771bc

View file

@ -451,11 +451,11 @@ namespace MultiArrayHelper
class DynamicExpression : public ExpressionBase
{
private:
DynamicExpression() : mThreadId(omp_get_thread_num()) {}
size_t mThreadId;
size_t mThreadId = 0;
std::shared_ptr<ExpressionBase> mNext;
DynamicExpression() : mThreadId(omp_get_thread_num()) {}
public:
static constexpr size_t LAYER = 0;