소스 검색

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;