1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Another attempt to fix build

This commit is contained in:
Tomasz Zieliński
2024-03-27 07:18:25 +01:00
parent 19633a0f62
commit a89abf0289

View File

@@ -60,6 +60,12 @@ public:
return get() + other.get();
}
template <typename U>
T operator+(ThreadSafeProxy<U> && other)
{
return get() + other.get();
}
private:
T& resourceRef;
std::lock_guard<boost::recursive_mutex> lock;