1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Replaced boost::thread_specific_ptr with thread_local

This commit is contained in:
Ivan Savenko
2023-07-31 17:00:37 +03:00
parent 142889e3a5
commit 87957e74c1
67 changed files with 41 additions and 255 deletions

View File

@@ -21,12 +21,8 @@
#include "../../lib/mapObjects/CQuest.h"
#include "../../lib/mapping/CMapDefines.h"
extern boost::thread_specific_ptr<CCallback> cb;
extern boost::thread_specific_ptr<VCAI> ai;
extern FuzzyHelper * fh;
//extern static const int3 dirs[8];
const CGObjectInstance * ObjectIdRef::operator->() const
{
return cb->getObj(id, false);