]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/rgw_common: define FMT_HEADER_ONLY
authorKefu Chai <tchaikov@gmail.com>
Fri, 2 Dec 2022 11:05:25 +0000 (19:05 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sat, 10 Dec 2022 01:55:05 +0000 (09:55 +0800)
to be consistent with other parts of rgw

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

index 6784f6248280ac0d4a6390e085630c19dfa5a26a..a0af2179ee5b6ac19b48c63dc2a40075711dc699 100644 (file)
 #include <atomic>
 #include <unordered_map>
 
+#undef FMT_HEADER_ONLY
+#define FMT_HEADER_ONLY 1
+#include <fmt/format.h>
+
 #include "common/ceph_crypto.h"
 #include "common/random_string.h"
 #include "rgw_acl.h"