mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Fix compilation with newer GCC Added Maintainer. Reorganized Makefile for consistency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
12 lines
267 B
Diff
12 lines
267 B
Diff
--- a/yarpl/Refcounted.h
|
|
+++ b/yarpl/Refcounted.h
|
|
@@ -42,7 +42,7 @@ std::shared_ptr<T> atomic_exchange(
|
|
auto refptr = ar->ref.lock();
|
|
auto old = std::move(*refptr);
|
|
*refptr = std::move(r);
|
|
- return std::move(old);
|
|
+ return old;
|
|
}
|
|
|
|
template <typename T>
|