summaryrefslogtreecommitdiffstats
path: root/src/common/ceph_context.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-07-28 18:15:07 +0200
committerSage Weil <sage@newdream.net>2011-07-28 18:49:23 +0200
commite68e4f3321ebb8e19ad9b6a8e8a8d805eee325fd (patch)
tree3c1a12fd447720da4e107041947f9a89ae4a4d4c /src/common/ceph_context.h
parentheartbeatmap: simplify api (diff)
downloadceph-e68e4f3321ebb8e19ad9b6a8e8a8d805eee325fd.tar.xz
ceph-e68e4f3321ebb8e19ad9b6a8e8a8d805eee325fd.zip
heartbeatmap: put in ceph namespace
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'src/common/ceph_context.h')
-rw-r--r--src/common/ceph_context.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/common/ceph_context.h b/src/common/ceph_context.h
index ac8c39b7d09..e78ab05bb04 100644
--- a/src/common/ceph_context.h
+++ b/src/common/ceph_context.h
@@ -28,7 +28,10 @@ class DoutLocker;
class PerfCountersCollection;
class md_config_obs_t;
class md_config_t;
-class HeartbeatMap;
+
+namespace ceph {
+ class HeartbeatMap;
+}
/* A CephContext represents the context held by a single library user.
* There can be multiple CephContexts in the same process.
@@ -63,7 +66,7 @@ public:
/* Get the PerfCountersCollection of this CephContext */
PerfCountersCollection *GetPerfCountersCollection();
- HeartbeatMap *get_heartbeat_map() {
+ ceph::HeartbeatMap *get_heartbeat_map() {
return _heartbeat_map;
}
@@ -92,7 +95,7 @@ private:
md_config_obs_t *_perf_counters_conf_obs;
- HeartbeatMap *_heartbeat_map;
+ ceph::HeartbeatMap *_heartbeat_map;
};
#endif