-
-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICU-21810 Fix error checking of ucurr.cpp part 1 #3027
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOKTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much better, thank you!
PS: The internal ures_... functions are another part of ICU that would benefit from modernization. In particular, the fillIn parameters were useful for avoiding some memory allocations, but are hard to get right, and hard to look at. If we did this with modern C++, we would return C++ objects (at least structs with destructors) by value, and move operators... |
ff3f3d9
to
8b078c4
Compare
Hooray! The files in the branch are the same across the force-push. 😃 ~ Your Friendly Jira-GitHub PR Checker Bot |
Change code inside ucurr.cpp to use LocalPointer to prepare the later changes for correct memory change
Checklist