Fix typos, no functional changes
authorMike Krinkin <krinkin.m.u@gmail.com>
Sun, 26 Apr 2015 17:31:36 +0000 (20:31 +0300)
committerMike Krinkin <krinkin.m.u@gmail.com>
Sun, 26 Apr 2015 17:31:36 +0000 (20:31 +0300)
cds/gc/details/dhp.h

index c4566f52da1e610e4978b24029ce6d073a491410..4491bd4d6b5477115eea163d1d12ed2646e8df00 100644 (file)
@@ -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: \91cds::gc::dhp::details::guard_data* cds::gc::dhp::details::guard::m_pGuard\92 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