From 9b7a7b075e0aa53d54aaa3fcabf7f6692e08e70b Mon Sep 17 00:00:00 2001 From: Mike Krinkin Date: Sun, 26 Apr 2015 20:31:36 +0300 Subject: [PATCH] Fix typos, no functional changes --- cds/gc/details/dhp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cds/gc/details/dhp.h b/cds/gc/details/dhp.h index c4566f52..4491bd4d 100644 --- a/cds/gc/details/dhp.h +++ b/cds/gc/details/dhp.h @@ -478,7 +478,7 @@ namespace cds { namespace gc { : m_pGuard( nullptr ) {} - /// Ñopy-ctor is disabled + /// Copy-ctor is disabled guard( guard const& ) = delete; /// Move-ctor is disabled @@ -525,7 +525,7 @@ namespace cds { namespace gc { public: // for ThreadGC. /* - GCC cannot compile code for template versions of ThreasGC::allocGuard/freeGuard, + GCC cannot compile code for template versions of ThreadGC::allocGuard/freeGuard, the compiler produces error: ‘cds::gc::dhp::details::guard_data* cds::gc::dhp::details::guard::m_pGuard’ is protected despite the fact that ThreadGC is declared as friend for guard class. Therefore, we have to add set_guard/get_guard public functions -- 2.34.1