fix typo
authorkhizmax <libcds.dev@gmail.com>
Fri, 2 Jan 2015 14:11:09 +0000 (17:11 +0300)
committerkhizmax <libcds.dev@gmail.com>
Fri, 2 Jan 2015 14:11:09 +0000 (17:11 +0300)
cds/intrusive/details/ellen_bintree_base.h
cds/opt/value_cleaner.h

index 2049781993a2b9563e03935483b1316053084b08..99dae529057ef6f058a47bfb9041855564fa678d 100644 (file)
@@ -8,8 +8,6 @@
 #include <cds/opt/options.h>
 #include <cds/urcu/options.h>
 #include <cds/details/marked_ptr.h>
-#include <cds/details/allocator.h>
-#include <cds/algo/backoff_strategy.h>
 
 namespace cds { namespace intrusive {
 
@@ -546,7 +544,7 @@ namespace cds { namespace intrusive {
             - \p opt::less - specifies binary predicate used for key compare. At least \p %opt::compare or \p %opt::less should be defined.
             - \p opt::disposer - the functor used for dispose removed nodes. Default is \p opt::v::empty_disposer. Due the nature
                 of GC schema the disposer may be called asynchronously. The disposer is used only for leaf nodes.
-            - \p opt::item_counter - the type of item counting feature, by defaulr it is disabled (\p atomicity::empty_item_counter)
+            - \p opt::item_counter - the type of item counting feature, by default it is disabled (\p atomicity::empty_item_counter)
                 To enable it use \p atomicity::item_counter
             - \p opt::memory_model - C++ memory ordering model. Can be \p opt::v::relaxed_ordering (relaxed memory model, the default)
                 or \p opt::v::sequential_consistent (sequentially consisnent memory model).
index 560498d2701536b8983e785053caa9d64c8c3acd..c7c95565a58d8da91a3d435d51a58f552c353bda 100644 (file)
@@ -12,7 +12,7 @@ namespace cds { namespace opt {
         The cleaner is a functor called when an item is removed from a container.
         Note, the cleaner should not delete (deallocate) the value \p val passed in.
         However, if the \p value_type type is a structure that contains dynamically allocated
-        field(s), the cleaning functor may deallocate it and iniitalize to default value (usually, \p nullptr).
+        field(s), the cleaning functor may deallocate it and initialize to default value (usually, \p nullptr).
 
         The interface for type \p value_type is:
         \code
@@ -70,7 +70,6 @@ namespace cds { namespace opt {
         };
 
     }   // namespace v
-
 }}  // namespace cds::opt
 
 #endif // #ifndef __CDS_OPT_ITEM_DISPOSER_H