Consistently use `typename` in zip.h
Always refer to "T:foo" as "typename T:foo", as some compilers may raise
an error otherwise.
Change-Id: I9f0f64c1c446be9fd6c1ec2088163608053a9631
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/121670
Commit-Queue: Tom Sepez <tsepez@google.com>
Reviewed-by: Tom Sepez <tsepez@google.com>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fxcrt/zip.h b/core/fxcrt/zip.h
index 9ee703a..1906837 100644
--- a/core/fxcrt/zip.h
+++ b/core/fxcrt/zip.h
@@ -58,8 +58,8 @@
return {*first, *second};
}
- T::iterator first;
- U::iterator second;
+ typename T::iterator first;
+ typename U::iterator second;
};
ZipView(T first, U second) : first_(first), second_(second) {