зеркало из https://github.com/mozilla/gecko-dev.git
e3d1db10d9
RC should be non-copyable. It already is non-copyable in the atomic variant, but not in the non-atomic variant. This ensures that RefCounted is also non-copyable, which prevents that classes deriving from RefCounted get accidentally copied. Also, RC's operator= should be defined only in debug builds. As already described in a code comment, it's only used in debug builds (to assign the dead value), and otherwise no modifications other than incrementing & decrementing should be possible. Differential Revision: https://phabricator.services.mozilla.com/D69332 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
BaseElf.cpp | ||
BaseElf.h | ||
CustomElf.cpp | ||
CustomElf.h | ||
ElfLoader.cpp | ||
ElfLoader.h | ||
Elfxx.h | ||
Linker.h | ||
Logging.cpp | ||
Logging.h | ||
Mappable.cpp | ||
Mappable.h | ||
Utils.h | ||
XZStream.cpp | ||
XZStream.h | ||
Zip.cpp | ||
Zip.h | ||
moz.build |