]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: specialize fmt::formatter<> for rgw_obj_key
authorKefu Chai <tchaikov@gmail.com>
Fri, 2 Dec 2022 09:23:23 +0000 (17:23 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 10 Dec 2022 01:58:01 +0000 (09:58 +0800)
commitc7e3e95277c69f94574928115f4cb7bf3608a79f
treeafc2395ddfed5ad412e10fdfb94c45599fb54133
parentb1382d0a23fe694b498fd647be5e7c0ecfdf41a6
rgw: specialize fmt::formatter<> for rgw_obj_key

since fmt v9, fmt::formatter<> is not specialized for the types with
operator<<(ostream&, ...) anymore. so we need to specialize it manually.
in this change, fmt::formatter<rgw_obj_key> is defined so the tree can
compile with fmt v9.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/rgw/rgw_obj_types.h