mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 18:47:53 +00:00
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 | ||
moz.build | ||
Utils.h | ||
XZStream.cpp | ||
XZStream.h | ||
Zip.cpp | ||
Zip.h |