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 /toolkit/components/places/nsAnnotationService.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 'toolkit/components/places/nsAnnotationService.cpp')
-rw-r--r-- | toolkit/components/places/nsAnnotationService.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/components/places/nsAnnotationService.cpp b/toolkit/components/places/nsAnnotationService.cpp index 9d62bd34a8..9e42836144 100644 --- a/toolkit/components/places/nsAnnotationService.cpp +++ b/toolkit/components/places/nsAnnotationService.cpp @@ -211,7 +211,7 @@ nsAnnotationService::SetPageAnnotation(nsIURI* aURI, return NS_OK; } // Fall through int64_t case otherwise. - MOZ_FALLTHROUGH; + [[fallthrough]]; } case nsIDataType::VTYPE_INT64: case nsIDataType::VTYPE_UINT64: { @@ -224,7 +224,7 @@ nsAnnotationService::SetPageAnnotation(nsIURI* aURI, return NS_OK; } // Fall through double case otherwise. - MOZ_FALLTHROUGH; + [[fallthrough]]; } case nsIDataType::VTYPE_FLOAT: case nsIDataType::VTYPE_DOUBLE: { @@ -296,7 +296,7 @@ nsAnnotationService::SetItemAnnotation(int64_t aItemId, return NS_OK; } // Fall through int64_t case otherwise. - MOZ_FALLTHROUGH; + [[fallthrough]]; } case nsIDataType::VTYPE_INT64: case nsIDataType::VTYPE_UINT64: { @@ -309,7 +309,7 @@ nsAnnotationService::SetItemAnnotation(int64_t aItemId, return NS_OK; } // Fall through double case otherwise. - MOZ_FALLTHROUGH; + [[fallthrough]]; } case nsIDataType::VTYPE_FLOAT: case nsIDataType::VTYPE_DOUBLE: { |