Merge pull request #173133 from Stunkymonkey/sony-headphones-client-gcc-fix
sony-headphones-client: patch gcc-20 supportmain
commit
d48fc739dc
@ -0,0 +1,19 @@ |
|||||||
|
diff --git a/SingleInstanceFuture.h b/SingleInstanceFuture.h
|
||||||
|
index 8af733f..d2e6c49 100644
|
||||||
|
--- a/SingleInstanceFuture.h
|
||||||
|
+++ b/SingleInstanceFuture.h
|
||||||
|
@@ -12,13 +12,13 @@ template <class T>
|
||||||
|
class SingleInstanceFuture : public std::future<T>
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
- SingleInstanceFuture<T>() = default;
|
||||||
|
+ SingleInstanceFuture(void) = default;
|
||||||
|
template<class Func, class... Args>
|
||||||
|
void setFromAsync(Func func, Args&&... args) noexcept(false);
|
||||||
|
bool ready();
|
||||||
|
|
||||||
|
private:
|
||||||
|
- SingleInstanceFuture<T>(std::future<T> other);
|
||||||
|
+ SingleInstanceFuture(std::future<T> other);
|
||||||
|
SingleInstanceFuture<T> operator=(std::future<T>& other);
|
||||||
|
};
|
Loading…
Reference in new issue