mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-02-07 18:26:49 +08:00
Fix thread-unsafe builds
This commit is contained in:
parent
62b8977abe
commit
c2d08457ad
@ -185,6 +185,10 @@ namespace chaiscript
|
|||||||
class Thread_Storage
|
class Thread_Storage
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Thread_Storage(void *)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
inline T *operator->() const
|
inline T *operator->() const
|
||||||
{
|
{
|
||||||
return &obj;
|
return &obj;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user