]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/basic_type: use the standard usage of string 9593/head
authorYan Jun <yan.jun8@zte.com.cn>
Mon, 6 Jun 2016 15:31:19 +0000 (23:31 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Mon, 6 Jun 2016 15:38:25 +0000 (23:38 +0800)
commitdc0ac7b30430243c0ab9e83bb58435c3b9936f8a
tree6f17acd5be25668d0f06bc98eddce5c3720d9a8b
parent2d4aec9d7bff8a61801b5403212649752c7485b1
rgw/basic_type: use the standard usage of string

string::find() returns a value of size_t type, we'd better
use the std::string::npos when it find nothing.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_basic_types.h