Browse Source

Another attempt to fix build

Tomasz Zieliński 1 year ago
parent
commit
a89abf0289
1 changed files with 6 additions and 0 deletions
  1. 6 0
      lib/rmg/Zone.h

+ 6 - 0
lib/rmg/Zone.h

@@ -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;