From 93b7f6e98de2c323b44bd36b5f7248e23585ac85 Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Wed, 16 Sep 2020 17:40:42 +0200 Subject: [PATCH] ICU-21819 Make all comparison operators const. --- icu4c/source/common/uvectr32.cpp | 2 +- icu4c/source/common/uvectr32.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/common/uvectr32.cpp b/icu4c/source/common/uvectr32.cpp index a77ecb689fd..2b4d0b8a75a 100644 --- a/icu4c/source/common/uvectr32.cpp +++ b/icu4c/source/common/uvectr32.cpp @@ -83,7 +83,7 @@ void UVector32::assign(const UVector32& other, UErrorCode &ec) { } -bool UVector32::operator==(const UVector32& other) { +bool UVector32::operator==(const UVector32& other) const { int32_t i; if (count != other.count) return false; for (i=0; i