From 9833ee7bc19982acd6ccaf6ac222bc24a97667a8 Mon Sep 17 00:00:00 2001 From: "REDMOND\\acoates" Date: Tue, 17 Sep 2019 09:15:00 -0700 Subject: [PATCH] Fix build break in MSVC (#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: https://github.com/facebook/react-native/pull/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 --- ReactCommon/jsi/jsi/jsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/jsi/jsi/jsi.h b/ReactCommon/jsi/jsi/jsi.h index 7925be7bed8380..0baa5e55641298 100644 --- a/ReactCommon/jsi/jsi/jsi.h +++ b/ReactCommon/jsi/jsi/jsi.h @@ -347,7 +347,7 @@ class PropNameID : public Pointer { using Pointer::Pointer; PropNameID(Runtime& runtime, const PropNameID& other) - : PropNameID(runtime.clonePropNameID(other.ptr_)) {} + : Pointer(runtime.clonePropNameID(other.ptr_)) {} PropNameID(PropNameID&& other) = default; PropNameID& operator=(PropNameID&& other) = default;