Skip to content

Commit 5dfcbbb

Browse files
author
Harini Malothu
committed
Fixed build errors
1 parent ba24ca5 commit 5dfcbbb

2 files changed

Lines changed: 4 additions & 10 deletions

File tree

vnext/Microsoft.ReactNative/Fabric/AbiComponentDescriptor.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,6 @@ facebook::react::Props::Shared AbiComponentDescriptor::cloneProps(
8989
return ShadowNodeT::defaultSharedProps();
9090
}
9191

92-
if constexpr (std::is_base_of_v<facebook::react::YogaLayoutableShadowNode, ShadowNodeT>) {
93-
if (facebook::react::ReactNativeFeatureFlags::excludeYogaFromRawProps()) {
94-
rawProps.filterYogaStylePropsInDynamicConversion();
95-
}
96-
}
97-
9892
rawProps.parse(rawPropsParser_);
9993

10094
// Call old-style constructor

vnext/stubs/double-conversion/double-conversion.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ class StringBuilder {
2525
return m_ss.str().length();
2626
}
2727

28-
char* Finalize() {
28+
char *Finalize() {
2929
std::string str = m_ss.str();
3030
memcpy(m_buffer, str.c_str(), str.length());
31-
m_buffer[str.length()] = '\0'; // IMPORTANT: Add null terminator
32-
return m_buffer; // Returns char* that will convert to std::string
33-
}
31+
m_buffer[str.length()] = '\0'; // IMPORTANT: Add null terminator
32+
return m_buffer; // Returns char* that will convert to std::string
33+
}
3434

3535
char *m_buffer;
3636
std::stringstream m_ss;

0 commit comments

Comments
 (0)