Skip to content

Commit 1c5fb90

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
Fix CQS signal readability-avoid-const-params-in-decls in xplat/js/react-native-github/packages [A] (#53897)
Summary: Pull Request resolved: #53897 Reviewed By: javache Differential Revision: D83033417 fbshipit-source-id: 4aa2bfd49433a1f9c741241dcffe714b5091506b
1 parent 6936bd9 commit 1c5fb90

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

packages/react-native/React/CoreModules/RCTAppearance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#import <React/RCTEventEmitter.h>
1313

1414
RCT_EXTERN void RCTEnableAppearancePreference(BOOL enabled);
15-
RCT_EXTERN void RCTOverrideAppearancePreference(NSString *const);
15+
RCT_EXTERN void RCTOverrideAppearancePreference(NSString *);
1616
RCT_EXTERN void RCTUseKeyWindowForSystemStyle(BOOL useMainScreen);
1717
RCT_EXTERN NSString *RCTCurrentOverrideAppearancePreference(void);
1818
RCT_EXTERN NSString *RCTColorSchemePreference(UITraitCollection *traitCollection);

packages/react-native/React/Views/RCTBorderDrawing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ RCT_EXTERN CGPathRef RCTPathCreateWithRoundedRect(
6161
CGRect bounds,
6262
RCTCornerInsets cornerInsets,
6363
const CGAffineTransform *transform,
64-
const BOOL inverted);
64+
BOOL inverted);
6565

6666
/**
6767
* Draw a CSS-compliant border as an image. You can determine if it's scalable

packages/react-native/ReactAndroid/src/main/jni/react/jni/JReactMarker.h

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,18 @@ class JReactMarker : public facebook::jni::JavaClass<JReactMarker> {
2424
private:
2525
static void logMarker(const std::string& marker);
2626
static void logMarker(const std::string& marker, const std::string& tag);
27-
static void logMarker(
28-
const std::string& marker,
29-
const std::string& tag,
30-
const int instanceKey);
27+
static void
28+
logMarker(const std::string& marker, const std::string& tag, int instanceKey);
3129
static void logPerfMarker(
32-
const ReactMarker::ReactMarkerId markerId,
30+
ReactMarker::ReactMarkerId markerId,
3331
const char* tag);
3432
static void logPerfMarkerBridgeless(
35-
const ReactMarker::ReactMarkerId markerId,
33+
ReactMarker::ReactMarkerId markerId,
3634
const char* tag);
3735
static void logPerfMarkerWithInstanceKey(
38-
const ReactMarker::ReactMarkerId markerId,
36+
ReactMarker::ReactMarkerId markerId,
3937
const char* tag,
40-
const int instanceKey);
38+
int instanceKey);
4139
static void nativeLogMarker(
4240
jni::alias_ref<jclass> /* unused */,
4341
const std::string& markerNameStr,

0 commit comments

Comments
 (0)