mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 02:51:22 +00:00
librsocket-cpp: Update to 2019-06-11
Fix compilation with newer GCC Added Maintainer. Reorganized Makefile for consistency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
11
libs/librsocket-cpp/patches/102-gcc9.patch
Normal file
11
libs/librsocket-cpp/patches/102-gcc9.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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>
|
||||
Reference in New Issue
Block a user