initialize mValue

This commit is contained in:
Isaac Connor 2017-12-12 13:19:35 -05:00
parent 3c44c1f9be
commit 5fa7fd4db8
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ private:
mutable Condition mCondition;
public:
__attribute__((used)) ThreadData() : mCondition( mMutex ) {
__attribute__((used)) ThreadData() : mValue(0), mCondition( mMutex ) {
mChanged = false;
}
__attribute__((used)) ThreadData( T value ) : mValue( value ), mCondition( mMutex ) {