Skip to content

Commit

Permalink
Fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Feb 6, 2023
1 parent 7735ea4 commit a331bb4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ inline void fromRawValue(
}
}

#if RN_DEBUG_STRING_CONVERTIBLE

inline std::string toString(const ScrollViewSnapToAlignment &value) {
switch (value) {
case ScrollViewSnapToAlignment::Start:
Expand All @@ -132,6 +130,8 @@ inline std::string toString(const ScrollViewSnapToAlignment &value) {
}
}

#if RN_DEBUG_STRING_CONVERTIBLE

inline std::string toString(const ScrollViewIndicatorStyle &value) {
switch (value) {
case ScrollViewIndicatorStyle::Default:
Expand Down

0 comments on commit a331bb4

Please sign in to comment.