From: Adam C. Emerson Date: Fri, 29 Mar 2019 01:39:36 +0000 (-0400) Subject: common: Update WorkQueue.h to work without using namespace X-Git-Tag: v15.0.0~19^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc02bf5da0caa5272dc2559aa69ca51ac559e473;p=ceph.git common: Update WorkQueue.h to work without using namespace Signed-off-by: Adam C. Emerson --- diff --git a/src/common/WorkQueue.h b/src/common/WorkQueue.h index a978a6d69843..d53fc0f91c6e 100644 --- a/src/common/WorkQueue.h +++ b/src/common/WorkQueue.h @@ -56,13 +56,13 @@ public: class TPHandle { friend class ThreadPool; CephContext *cct; - heartbeat_handle_d *hb; + ceph::heartbeat_handle_d *hb; ceph::coarse_mono_clock::rep grace; ceph::coarse_mono_clock::rep suicide_grace; public: TPHandle( CephContext *cct, - heartbeat_handle_d *hb, + ceph::heartbeat_handle_d *hb, time_t grace, time_t suicide_grace) : cct(cct), hb(hb), grace(grace), suicide_grace(suicide_grace) {} @@ -656,11 +656,11 @@ public: BaseShardedWQ(time_t ti, time_t sti):timeout_interval(ti), suicide_interval(sti) {} virtual ~BaseShardedWQ() {} - virtual void _process(uint32_t thread_index, heartbeat_handle_d *hb ) = 0; + virtual void _process(uint32_t thread_index, ceph::heartbeat_handle_d *hb ) = 0; virtual void return_waiting_threads() = 0; virtual void stop_return_waiting_threads() = 0; virtual bool is_shard_empty(uint32_t thread_index) = 0; - }; + }; template class ShardedWQ: public BaseShardedWQ {