From: Adam C. Emerson Date: Thu, 4 Sep 2025 19:09:46 +0000 (-0400) Subject: rgw: Fix CephContext forward declaration X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3513e02c6911275be33e7a39029ba77d849efaa;p=ceph-ci.git rgw: Fix CephContext forward declaration Use `common_fwd.h` to avoid clashes with Crimson namespace hackery. Signed-off-by: Adam C. Emerson --- diff --git a/src/rgw/rgw_usage_cache.h b/src/rgw/rgw_usage_cache.h index a726cb78741..cf40726a9a5 100644 --- a/src/rgw/rgw_usage_cache.h +++ b/src/rgw/rgw_usage_cache.h @@ -4,7 +4,6 @@ #pragma once #include -#include #include #include #include @@ -13,12 +12,9 @@ #include "include/buffer.h" #include "include/encoding.h" +#include "include/common_fwd.h" #include "common/ceph_time.h" -// Forward declarations -class CephContext; -class PerfCounters; - namespace rgw { struct UsageStats { @@ -122,4 +118,4 @@ private: mutable std::atomic cache_misses{0}; }; -} // namespace rgw \ No newline at end of file +} // namespace rgw