Skip to content

Commit 3fb6c12

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal readability-const-return-type in xplat/js/react-native-github/packages (#53940)
Summary: Pull Request resolved: #53940 Reviewed By: javache Differential Revision: D83238455 fbshipit-source-id: ea3d3180f37151b3bba432d55324f2d854f29bc4
1 parent fe04344 commit 3fb6c12

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/react-native/ReactCommon/react/performance/cdpmetrics/CdpInteractionTypes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const InteractionTypesMap& getInteractionTypes() {
5151
return INTERACTION_TYPES;
5252
}
5353

54-
const std::string_view getInteractionTypeForEvent(std::string_view eventName) {
54+
std::string_view getInteractionTypeForEvent(std::string_view eventName) {
5555
const auto& interactionTypes = getInteractionTypes();
5656
auto it = interactionTypes.find(eventName);
5757
if (it != interactionTypes.end()) {

packages/react-native/ReactCommon/react/performance/cdpmetrics/CdpInteractionTypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ using InteractionTypesMap =
1717

1818
const InteractionTypesMap& getInteractionTypes();
1919

20-
const std::string_view getInteractionTypeForEvent(std::string_view eventName);
20+
std::string_view getInteractionTypeForEvent(std::string_view eventName);
2121

2222
} // namespace facebook::react

packages/react-native/ReactCommon/react/renderer/components/legacyviewmanagerinterop/LegacyViewManagerInteropComponentDescriptor.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static Class getViewManagerClass(const std::string &componentName, RCTBridge *br
104104
return nil;
105105
}
106106

107-
static const std::shared_ptr<void> constructCoordinator(
107+
static std::shared_ptr<void> constructCoordinator(
108108
const std::shared_ptr<const ContextContainer> &contextContainer,
109109
const ComponentDescriptor::Flavor &flavor)
110110
{

0 commit comments

Comments
 (0)