mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
460db498a3
The only uses of this class use a template argument with a size of |char| (uint8_t and char), and the class isn't designed to accomodate template arguments of larger size (e.g. the implementation of Forget() neglects to divide by sizeof(T) for allocating a return buffer). Let's enforce this with a static_assert. This change makes the class safer to use and also makes future changes simpler to reason about. |
||
---|---|---|
.. | ||
brotli | ||
freetype2 | ||
libbz2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
zlib |