Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / external / icu / Wdeprecated-copy-dtor.patch
blob67078ef1bb5932d6532c8910397bd6ef5d894025
1 --- source/common/unicode/uobject.h
2 +++ source/common/unicode/uobject.h
3 @@ -245,10 +245,10 @@
4 // direct use of UObject itself
6 // default constructor
7 - // inline UObject() {}
8 + UObject() = default;
10 // copy constructor
11 - // inline UObject(const UObject &other) {}
12 + UObject(const UObject &other) = default;
14 #if 0
15 // TODO Sometime in the future. Implement operator==().
16 @@ -280,8 +280,8 @@
17 * Subclasses need this assignment operator if they use compiler-provided
18 * assignment operators of their own. An alternative to not declaring one
19 * here would be to declare and empty-implement a protected or public one.
20 - UObject &UObject::operator=(const UObject &);
22 + UObject &operator=(const UObject &) = default;
25 #ifndef U_HIDE_INTERNAL_API