From: Mike Krinkin Date: Sun, 26 Apr 2015 17:31:36 +0000 (+0300) Subject: Fix typos, no functional changes X-Git-Tag: v2.1.0~249^2^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9b7a7b075e0aa53d54aaa3fcabf7f6692e08e70b;p=libcds.git Fix typos, no functional changes --- 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