-
Notifications
You must be signed in to change notification settings - Fork 49
Make iterators const if possible #1195
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
base: master
Are you sure you want to change the base?
Make iterators const if possible #1195
Conversation
|
Can one of the admins verify this patch? |
1 similar comment
|
Can one of the admins verify this patch? |
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.
@cngzhnp Could you remove changes at RemoteController.cpp and remote_controller_types.cpp since they are generated code, so we don't modify those classes.
|
verify |
|
Linux test FAILed. |
5338000 to
5b4979f
Compare
|
@OzanCansel Thanks for the review, I just reverted back changes on generated source files. |
| { | ||
| std::sort(entries.begin(), | ||
| entries.end(), | ||
| std::sort(entries.cbegin(), |
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.
sorting requires non-const iterator, right?
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.
Yes, my mistake sorry for inconvenience.
PR closed by Hazelcast automation as no activity (>3 months). Please reopen with comments, if necessary. Thank you for using Hazelcast and your valuable contributions