]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: Updated OSDMap.cc with C++11 style range-for loops
authorJos Collin <jcollin@redhat.com>
Fri, 7 Apr 2017 05:02:52 +0000 (10:32 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 7 Apr 2017 05:03:01 +0000 (10:33 +0530)
commit829a8d17881912ac9ba187b680b8ec75f0fd461b
tree890c5e6dbe7ca07cdd3820893287ddefb96fdf26
parent14867ad39887ad9a30511b257959fb00b46418ab
osd: Updated OSDMap.cc with C++11 style range-for loops

Updated OSDMap.cc with C++11 style range-for loops in template iterations for better
readability. Also replaced some iterator types with auto, which stores the return value of find().

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/osd/OSDMap.cc