From: khizmax Date: Sun, 16 Nov 2014 19:27:07 +0000 (+0300) Subject: remove hp_inline.h X-Git-Tag: v2.0.0~79 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c3a36b79d17c78daf6809e82db7ba830b0ba9666;p=libcds.git remove hp_inline.h --- diff --git a/cds/gc/details/hp.h b/cds/gc/details/hp.h index b6d052ed..0bc258f3 100644 --- a/cds/gc/details/hp.h +++ b/cds/gc/details/hp.h @@ -749,8 +749,25 @@ namespace cds { }} // namespace cds::gc //@endcond +//@cond // Inlines -#include +namespace cds { + namespace gc{ namespace hp { namespace details { + + inline retired_vector::retired_vector( const cds::gc::hp::GarbageCollector& HzpMgr ) CDS_NOEXCEPT + : m_arr( HzpMgr.getMaxRetiredPtrCount() ), + m_nSize(0) + {} + + inline hp_record::hp_record( const cds::gc::hp::GarbageCollector& HzpMgr ) + : m_hzp( HzpMgr.getHazardPointerCount() ), + m_arrRetired( HzpMgr ) + {} + + }}} // namespace gc::hp::details +} // namespace cds +//@endcond + #if CDS_COMPILER == CDS_COMPILER_MSVC # pragma warning(pop) diff --git a/cds/gc/details/hp_inline.h b/cds/gc/details/hp_inline.h deleted file mode 100644 index e4e22a8d..00000000 --- a/cds/gc/details/hp_inline.h +++ /dev/null @@ -1,27 +0,0 @@ -//$$CDS-header$$ - -#ifndef __CDS_GC_DETAILS_HP_INLINE_H -#define __CDS_GC_DETAILS_HP_INLINE_H - -//@cond -namespace cds { - namespace gc{ namespace hp { namespace details { - - /************************************************************************/ - /* INLINES */ - /************************************************************************/ - inline retired_vector::retired_vector( const cds::gc::hp::GarbageCollector& HzpMgr ) CDS_NOEXCEPT - : m_arr( HzpMgr.getMaxRetiredPtrCount() ), - m_nSize(0) - {} - - inline hp_record::hp_record( const cds::gc::hp::GarbageCollector& HzpMgr ) - : m_hzp( HzpMgr.getHazardPointerCount() ), - m_arrRetired( HzpMgr ) - {} - - }}} // namespace gc::hp::details -} // namespace cds -//@endcond - -#endif // #ifndef __CDS_GC_DETAILS_HP_INLINE_H diff --git a/projects/Win/vc12/cds.vcxproj b/projects/Win/vc12/cds.vcxproj index b6db0612..df4d8fb3 100644 --- a/projects/Win/vc12/cds.vcxproj +++ b/projects/Win/vc12/cds.vcxproj @@ -737,7 +737,6 @@ - diff --git a/projects/Win/vc12/cds.vcxproj.filters b/projects/Win/vc12/cds.vcxproj.filters index 9c287647..0cbfe9df 100644 --- a/projects/Win/vc12/cds.vcxproj.filters +++ b/projects/Win/vc12/cds.vcxproj.filters @@ -1157,9 +1157,6 @@ Header Files\cds\gc\details - - Header Files\cds\gc\details - Header Files\cds\gc\details