]> granicus.if.org Git - icu/commitdiff
ICU-21523 Declare default impl for copy operator for GCC warning
authorElango Cheran <elango@unicode.org>
Fri, 9 Apr 2021 22:55:46 +0000 (15:55 -0700)
committerFrank Yung-Fong Tang <ftang@google.com>
Wed, 14 Apr 2021 19:32:52 +0000 (12:32 -0700)
icu4c/source/i18n/plurrule_impl.h

index ccc481370c3c3c2c0b10d6f3be6acc41cecc82e9..5668e42be9ae33701897264f7eb1678b8ca8fd28 100644 (file)
@@ -324,6 +324,7 @@ class U_I18N_API FixedDecimal: public IFixedDecimal, public UObject {
     static int64_t getFractionalDigits(double n, int32_t v);
     static int32_t decimals(double n);
 
+    FixedDecimal& operator=(const FixedDecimal& other) = default;
     bool operator==(const FixedDecimal &other) const;
 
     UnicodeString toString() const;