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

@@ -25,10 +25,6 @@
namespace NKAI
{
extern boost::thread_specific_ptr<AIGateway> ai;
//extern static const int3 dirs[8];
const CGObjectInstance * ObjectIdRef::operator->() const
{
return cb->getObj(id, false);