瀏覽代碼

Another attempt to fix build

Tomasz Zieliński 1 年之前
父節點
當前提交
a89abf0289
共有 1 個文件被更改,包括 6 次插入0 次删除
  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;