Merge pull request #30 from krinkinmu/fix-typo
authorMax Khizhinsky <libcds.dev@gmail.com>
Mon, 27 Apr 2015 20:13:37 +0000 (23:13 +0300)
committerMax Khizhinsky <libcds.dev@gmail.com>
Mon, 27 Apr 2015 20:13:37 +0000 (23:13 +0300)
Fix typos, no functional changes

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