1 From 751f9dd094f01b5877af7c8278006aa84399a025 Mon Sep 17 00:00:00 2001
2 From: Philipp Kerling <yol@casix.org>
3 Date: Sat, 11 May 2024 00:45:18 +0200
4 Subject: [PATCH 4/8] libUPnP: Fix deprecated generation of copy assignment
8 lib/libUPnP/Neptune/Source/Core/NptTime.h | 1 +
9 1 file changed, 1 insertion(+)
11 diff --git a/lib/libUPnP/Neptune/Source/Core/NptTime.h b/lib/libUPnP/Neptune/Source/Core/NptTime.h
12 index 8b58eefac6..64b244e69a 100644
13 --- a/lib/libUPnP/Neptune/Source/Core/NptTime.h
14 +++ b/lib/libUPnP/Neptune/Source/Core/NptTime.h
15 @@ -56,6 +56,7 @@ class NPT_TimeStamp
16 NPT_TimeStamp(NPT_Int64 nanoseconds) : m_NanoSeconds(nanoseconds) {}
17 NPT_TimeStamp(float seconds);
18 NPT_TimeStamp(double seconds);
19 + NPT_TimeStamp& operator=(const NPT_TimeStamp&) = default;
20 NPT_TimeStamp& operator+=(const NPT_TimeStamp& time_stamp);
21 NPT_TimeStamp& operator-=(const NPT_TimeStamp& time_stamp);
22 bool operator==(const NPT_TimeStamp& t) const { return m_NanoSeconds == t.m_NanoSeconds; }