Skip to content

Commit f65e49b

Browse files
committed
ICU-23447 update mf2 test for constness
1 parent d91f1b5 commit f65e49b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

icu4c/source/test/intltest/messageformat2test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ class FixedDateFunction : public Function {
515515
public:
516516
FixedDateFunction(UErrorCode& status);
517517
LocalPointer<FunctionValue> call(const FunctionContext &, const FunctionValue &,
518-
const FunctionOptions &, UErrorCode &) override;
518+
const FunctionOptions &, UErrorCode &) const override;
519519
virtual ~FixedDateFunction();
520520
};
521521

@@ -526,7 +526,7 @@ FixedDateFunction::FixedDateFunction(UErrorCode& status) {
526526
LocalPointer<FunctionValue> FixedDateFunction::call(const FunctionContext &context,
527527
const FunctionValue &arg,
528528
const FunctionOptions &opts,
529-
UErrorCode &errorCode) {
529+
UErrorCode &errorCode) const {
530530
(void)context;
531531

532532
if (U_FAILURE(errorCode)) {

0 commit comments

Comments
 (0)