mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
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