We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7a86fb commit 506f03aCopy full SHA for 506f03a
1 file changed
inflection/test/src/inflection/dialog/InflectableStringConceptTest-c.cpp
@@ -175,13 +175,12 @@ TEST_CASE("InflectableStringConceptTest-c#testCreateWithDefaults")
175
IDDisplayValue_Constraint defaultConstraints[] = {
176
{u"gender", u"masculine"},
177
};
178
- constexpr int32_t constraintsCount = std::ssize(defaultConstraints);
179
180
auto inflectableConcept = iinf_createWithDefaults(model,
181
- sourceString,
182
- defaultConstraints,
183
- constraintsCount,
184
- &error);
+ sourceString,
+ defaultConstraints,
+ static_cast<int32_t>(sizeof(defaultConstraints) / sizeof(defaultConstraints[0])),
+ &error);
185
iss_destroy(sourceString);
186
REQUIRE(U_SUCCESS(error));
187
REQUIRE(inflectableConcept != nullptr);
0 commit comments