mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
f4ef8ec8c7
C++20 deprecated decrement/increment of object of volatile-qualified types, e.g. v++. https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r3.html `warning: gfx/vr/VRShMem.cpp:420:21: '++' expression of 'volatile'-qualified type is deprecated [-Wvolatile]` C++20 is warning that incrementing the volatile int64_t variables `mExternalShmem->geckoGenerationA` and `geckoGenerationB` is not an atomic operation. Replacing the postfix increment with explicit addition makes the warnings go away without changing the semantics of this code. Differential Revision: https://phabricator.services.mozilla.com/D163558 |
||
---|---|---|
.. | ||
external_api | ||
ipc | ||
service | ||
components.conf | ||
FxROutputHandler.cpp | ||
FxROutputHandler.h | ||
FxRWindowManager.cpp | ||
FxRWindowManager.h | ||
gfxVR.cpp | ||
gfxVR.h | ||
gfxVRMutex.h | ||
moz.build | ||
nsFxrCommandLineHandler.cpp | ||
nsFxrCommandLineHandler.h | ||
VRDisplayClient.cpp | ||
VRDisplayClient.h | ||
VRDisplayPresentation.cpp | ||
VRDisplayPresentation.h | ||
VRManager.cpp | ||
VRManager.h | ||
VRPuppetCommandBuffer.cpp | ||
VRPuppetCommandBuffer.h | ||
VRServiceHost.cpp | ||
VRServiceHost.h | ||
VRShMem.cpp | ||
VRShMem.h | ||
VRThread.cpp | ||
VRThread.h |