@@ -51,11 +51,11 @@ class DLLSYM CLIST_LINK
51
51
}
52
52
53
53
CLIST_LINK ( // copy constructor
54
- const CLIST_LINK &) { // dont copy link
54
+ const CLIST_LINK &) { // don't copy link
55
55
data = next = NULL ;
56
56
}
57
57
58
- void operator = ( // dont copy links
58
+ void operator = ( // don't copy links
59
59
const CLIST_LINK &) {
60
60
data = next = NULL ;
61
61
}
@@ -89,7 +89,7 @@ class DLLSYM CLIST
89
89
void internal_deep_clear ( // destroy all links
90
90
void (*zapper) (void *)); // ptr to zapper functn
91
91
92
- void shallow_clear (); // clear list but dont
92
+ void shallow_clear (); // clear list but don't
93
93
// delete data elements
94
94
95
95
bool empty () const { // is list empty?
@@ -117,7 +117,7 @@ class DLLSYM CLIST
117
117
118
118
// Assuming list has been sorted already, insert new_data to
119
119
// keep the list sorted according to the same comparison function.
120
- // Comparision function is the same as used by sort, i.e. uses double
120
+ // Comparison function is the same as used by sort, i.e. uses double
121
121
// indirection. Time is O(1) to add to beginning or end.
122
122
// Time is linear to add pre-sorted items to an empty list.
123
123
// If unique, then don't add duplicate entries.
@@ -232,7 +232,7 @@ class DLLSYM CLIST_ITERATOR
232
232
BOOL8 cycled_list (); // Completed a cycle?
233
233
234
234
void add_to_end ( // add at end &
235
- void *new_data); // dont move
235
+ void *new_data); // don't move
236
236
237
237
void exchange ( // positions of 2 links
238
238
CLIST_ITERATOR *other_it); // other iterator
@@ -437,7 +437,7 @@ inline void CLIST_ITERATOR::add_before_then_move( // element to add
437
437
/* **********************************************************************
438
438
* CLIST_ITERATOR::add_before_stay_put
439
439
*
440
- * Add a new element to the list before the current element but dont move the
440
+ * Add a new element to the list before the current element but don't move the
441
441
* iterator to the new element.
442
442
**********************************************************************/
443
443
@@ -485,7 +485,7 @@ inline void CLIST_ITERATOR::add_before_stay_put( // element to add
485
485
/* **********************************************************************
486
486
* CLIST_ITERATOR::add_list_after
487
487
*
488
- * Insert another list to this list after the current element but dont move the
488
+ * Insert another list to this list after the current element but don't move the
489
489
* iterator.
490
490
**********************************************************************/
491
491
@@ -836,7 +836,7 @@ Replace <parm> with "<parm>". <parm> may be an arbitrary number of tokens
836
836
837
837
CLASSNAME is assumed to be the name of a class to be used in a CONS list
838
838
839
- NOTE: Because we dont use virtual functions in the list code, the list code
839
+ NOTE: Because we don't use virtual functions in the list code, the list code
840
840
will NOT work correctly for classes derived from this.
841
841
842
842
The macro generates:
@@ -885,7 +885,7 @@ public: \
885
885
CLASSNAME##_CLIST():CLIST() {} \
886
886
/* constructor */ \
887
887
\
888
- CLASSNAME##_CLIST( /* dont construct */ \
888
+ CLASSNAME##_CLIST( /* don't construct */ \
889
889
const CLASSNAME##_CLIST&) /* by initial assign*/ \
890
890
{ DONT_CONSTRUCT_LIST_BY_COPY.error ( QUOTE_IT ( CLASSNAME##_CLIST ), \
891
891
ABORT, NULL ); } \
@@ -963,7 +963,7 @@ CLISTIZEH_C( CLASSNAME )
963
963
* A function which can delete a CLASSNAME element. This is passed to the \
964
964
* generic deep_clear list member function so that when a list is cleared the \
965
965
* elements on the list are properly destroyed from the base class, even \
966
- * though we dont use a virtual destructor function. \
966
+ * though we don't use a virtual destructor function. \
967
967
**********************************************************************/ \
968
968
\
969
969
DLLSYM void CLASSNAME##_c1_zapper( /* delete a link*/ \
0 commit comments