diff options
author | Chunmei Liu <chunmei.liu@intel.com> | 2020-01-18 00:09:10 +0100 |
---|---|---|
committer | Chunmei Liu <chunmei.liu@intel.com> | 2020-02-28 04:56:29 +0100 |
commit | a54d0a90c06aed1ae26826d7d5317ba13e18c86e (patch) | |
tree | 2252e24a03bf28138eadc333b7f1eeab60990001 /src/rgw/rgw_rest_conn.h | |
parent | Merge pull request #33566 from dzafman/wip-44296 (diff) | |
download | ceph-a54d0a90c06aed1ae26826d7d5317ba13e18c86e.tar.xz ceph-a54d0a90c06aed1ae26826d7d5317ba13e18c86e.zip |
crimson:common add TOPNSPC namespace for ceph and crimson
some code coexist in crimson seastar environment and posix environment,
so add namespace to avoid same function conflict, for example add namespace
for CephContext, since the new namespace for classic ceph-osd,
need modify all files declare use CephContext by including "common_fwd.h"
which defined the namespace for each environment.
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Diffstat (limited to 'src/rgw/rgw_rest_conn.h')
-rw-r--r-- | src/rgw/rgw_rest_conn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/rgw_rest_conn.h b/src/rgw/rgw_rest_conn.h index 0ea3827d38f..5cbd3579a08 100644 --- a/src/rgw/rgw_rest_conn.h +++ b/src/rgw/rgw_rest_conn.h @@ -7,10 +7,10 @@ #include "rgw_rest_client.h" #include "common/ceph_json.h" #include "common/RefCountedObj.h" +#include "include/common_fwd.h" #include <atomic> -class CephContext; class RGWSI_Zone; template <class T> |