Move things from crosslang to here
This commit is contained in:
@ -38,6 +38,7 @@ template<typename T>
|
||||
else
|
||||
{
|
||||
this->value = this->init();
|
||||
this->hasInit=true;
|
||||
mtx.Unlock();
|
||||
return this->value;
|
||||
}
|
||||
@ -48,4 +49,4 @@ template<typename T>
|
||||
if(hasInit) this->free(this->value);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user