Skip to content

Commit f0e43a7

Browse files
committed
Mozilla bug 1922838 - Replace MOZ_ARRAY_LENGTH with std::size.
1 parent 8b820ca commit f0e43a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

translator-src/nu/validator/htmlparser/cpptranslate/CppTypes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public String treeBuilderStateType() {
455455
}
456456

457457
public String arrayLengthMacro() {
458-
return "MOZ_ARRAY_LENGTH";
458+
return "std::size";
459459
}
460460

461461
public String staticAssert() {

0 commit comments

Comments
 (0)