Преглед на файлове

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;