diff options
author | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-11-12 20:30:17 +0000 |
commit | db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032 (patch) | |
tree | 8036ebc434967a0cde3de705a16faea54d117bfd /xpcom/ds/nsVariant.cpp | |
parent | c789882a294d29b3e5450a972ad67c4839c75e23 (diff) | |
parent | 9c75c8235e13e0f8309b11fa138253350bce0dd5 (diff) | |
download | uxp-db4ddc5f6855fdd89cf2af9090f78fb7ebb7f032.tar.gz |
Merge pull request 'Replace MOZ_FALLTHROUGH with [[fallthrough]]' (#2379) from 2343-fallthrough-work into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2379
Diffstat (limited to 'xpcom/ds/nsVariant.cpp')
-rw-r--r-- | xpcom/ds/nsVariant.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/ds/nsVariant.cpp b/xpcom/ds/nsVariant.cpp index 7e797117ad..ffec2575f0 100644 --- a/xpcom/ds/nsVariant.cpp +++ b/xpcom/ds/nsVariant.cpp @@ -355,7 +355,7 @@ CloneArray(uint16_t aInType, const nsIID* aInIID, if (aOutIID) { *aOutIID = *aInIID; } - MOZ_FALLTHROUGH; + [[fallthrough]]; case nsIDataType::VTYPE_INTERFACE: { memcpy(*aOutValue, aInValue, allocSize); @@ -759,7 +759,7 @@ nsDiscriminatedUnion::ToString(nsACString& aOutString) const case nsIDataType::VTYPE_WSTRING_SIZE_IS: case nsIDataType::VTYPE_WCHAR: NS_ERROR("ToString being called for a string type - screwy logic!"); - MOZ_FALLTHROUGH; + [[fallthrough]]; // XXX We might want stringified versions of these... ??? |