Skip to content

Commit a4bf14a

Browse files
imagemanager / primitives > avoid copy of debug string (#53451)
Summary: Pull Request resolved: #53451 Changelog: [Internal] Reviewed By: rshest Differential Revision: D80946627 fbshipit-source-id: c7604366f97b1b8336f3792d434d5873c810cec7
1 parent 7ea7c40 commit a4bf14a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native/ReactCommon/react/renderer/imagemanager

packages/react-native/ReactCommon/react/renderer/imagemanager/primitives.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class ImageSource {
9595

9696
#if RN_DEBUG_STRING_CONVERTIBLE
9797
SharedDebugStringConvertibleList getDebugProps(
98-
const std::string prefix) const {
98+
const std::string& prefix) const {
9999
ImageSource imageSource{};
100100

101101
SharedDebugStringConvertibleList headersList;

0 commit comments

Comments
 (0)