]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix constexpr for string_size 15738/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 16 Jun 2017 20:50:12 +0000 (16:50 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 16 Jun 2017 21:03:05 +0000 (17:03 -0400)
commitccc146c5bb36a91c0c517bb8cf6cce70635127e2
tree41dc60b81fbd42fb342833c3b31951f3022a0844
parent5e7eead3a67a1f3ceee48068e8581e3c598b2213
rgw: fix constexpr for string_size

string_size<const char*>() is no longer constexpr. added new constexpr
specialization for string_size<char[N]>()

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_string.h
src/test/rgw/test_rgw_string.cc