Skip to content

Commit 930ffa2

Browse files
acoates-msgrabbou
authored andcommitted
Fix build break in MSVC (facebook#26462)
Summary: Merging react-native-windows to 0.60 - the visual studio compiler seems to take issue with the existing code ## Changelog [Internal] [Fixed] - Build fix for react-native-windows (MSVC) Pull Request resolved: facebook#26462 Test Plan: No real change, just making compilers happy. ### Side Note We'll want this change cherry-pickered to RN 0.60 and RN 0.61 so users of react-native-windows dont have to use our fork of react-native. Reviewed By: mhorowitz Differential Revision: D17406081 Pulled By: TheSavior fbshipit-source-id: bc056e1a545c6478fdcbd5645f3a8dea657162c8
1 parent e0d9cea commit 930ffa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactCommon/jsi/jsi/jsi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class PropNameID : public Pointer {
347347
using Pointer::Pointer;
348348

349349
PropNameID(Runtime& runtime, const PropNameID& other)
350-
: PropNameID(runtime.clonePropNameID(other.ptr_)) {}
350+
: Pointer(runtime.clonePropNameID(other.ptr_)) {}
351351

352352
PropNameID(PropNameID&& other) = default;
353353
PropNameID& operator=(PropNameID&& other) = default;

0 commit comments

Comments
 (0)