margelo / react-native-bignumber

🔢 The fastest Big Number library for React Native
https://margelo.io
MIT License
342 stars 12 forks source link

Xcode 15.3 build issue #63

Closed r-variichuk closed 4 months ago

r-variichuk commented 6 months ago

Receive this error after Xcode update : No matching function for call to 'remove_if' in MGBigNumberHostObject.cpp

Screenshot 2024-03-06 at 14 46 59
r-variichuk commented 6 months ago

@mrousavy sorry for mentioning you, but this seems to be a blocker. I would appreciate if you can find some time to take a look. Thx in advance

vinters768 commented 6 months ago

@r-variichuk patch it to be:

strRep.erase(remove_if(strRep.begin(), strRep.end(), isspace), strRep.end());

r-variichuk commented 5 months ago

@r-variichuk patch it to be:

strRep.erase(remove_if(strRep.begin(), strRep.end(), isspace), strRep.end());

build issue has gone. Thx

ayush-leap commented 5 months ago

thank you @vinters768 - this fixed the issue for me!