]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: use stoi() instead of atoi()
authorKefu Chai <kchai@redhat.com>
Mon, 12 Nov 2018 01:49:53 +0000 (09:49 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 15 Nov 2018 06:34:03 +0000 (14:34 +0800)
commit83762041a4b71d899bda2c0aaa219cb6ea99622e
tree2c0ae917ce9a3e6b838319830b62ba36a271cf9f
parentd14345045098cc22b9fb4dabf7a3c1ea2987bdfa
tests: use stoi() instead of atoi()

stoi() is simpler if we need to convert std::string to integer.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/erasure-code/ceph_erasure_code_benchmark.cc