Skip to content
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

osd: replace vectors_equal() with operator==(vector<>, vector<>) #18064

Merged
merged 2 commits into from Oct 6, 2017

Conversation

tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Oct 1, 2017

No description provided.

@tchaikov tchaikov changed the title osdmap: replace vectors_equal() with operator==(vector<>, vector<>) osd: replace vectors_equal() with operator==(vector<>, vector<>) Oct 1, 2017
Signed-off-by: Kefu Chai <kchai@redhat.com>
std::equal() in c++11 is able to compare elements of different container
types. but would be easier to read if we can just use the operator==().

Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov
Copy link
Contributor Author

tchaikov commented Oct 2, 2017

Copy link
Contributor

@adamemerson adamemerson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Laurasian Genets Tailring Magnificently

@tchaikov tchaikov merged commit f57560d into ceph:master Oct 6, 2017
@tchaikov tchaikov deleted the wip-vectors-equal branch October 6, 2017 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants