summaryrefslogtreecommitdiffstats
path: root/dom/system/PathUtils.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/system/PathUtils.h')
-rw-r--r--dom/system/PathUtils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dom/system/PathUtils.h b/dom/system/PathUtils.h
index ff01ddfc1e..1870d92f23 100644
--- a/dom/system/PathUtils.h
+++ b/dom/system/PathUtils.h
@@ -241,7 +241,8 @@ class PathUtils::DirectoryCache final {
void ResolveWithDirectory(Promise* aPromise, const Directory aRequestedDir);
template <typename T>
- using DirectoryArray = EnumeratedArray<Directory, Directory::Count, T>;
+ using DirectoryArray =
+ EnumeratedArray<Directory, T, size_t(Directory::Count)>;
DirectoryArray<nsString> mDirectories;
DirectoryArray<MozPromiseHolder<PopulateDirectoriesPromise>> mPromises;