Skip to content

Commit 6e45541

Browse files
author
Amanda Butler
authored
Copy edit SafeBool.h
Make minor copy edits, mostly for nonrestrictive clauses.
1 parent 739b59b commit 6e45541

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/FEATURE_BLE/ble/SafeBool.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#ifndef BLE_API_SAFE_BOOL_H_
1818
#define BLE_API_SAFE_BOOL_H_
1919

20-
/* Safe bool idiom, see : http://www.artima.com/cppsource/safebool.html */
20+
/* Safe bool idiom, see: http://www.artima.com/cppsource/safebool.html */
2121

2222
/**
2323
* @file
@@ -34,7 +34,7 @@ namespace SafeBool_ {
3434
/**
3535
* Base class of all SafeBool instances.
3636
*
37-
* This non template base class exists to reduces the number of instantiation of
37+
* This nontemplate base class exists to reduce the number of instantiation of
3838
* the trueTag function.
3939
*/
4040
class base {
@@ -43,17 +43,17 @@ class base {
4343

4444
protected:
4545
/**
46-
* The bool type is a pointer to method which can be used in boolean context.
46+
* The bool type is a pointer to method that can be used in boolean context.
4747
*/
4848
typedef void (base::*BoolType_t)() const;
4949

5050
/**
51-
* Non implemented call, use to disallow conversion between unrelated types.
51+
* Nonimplemented call, use to disallow conversion between unrelated types.
5252
*/
5353
void invalidTag() const;
5454

5555
/**
56-
* Special member function which indicate a true value.
56+
* Special member function that indicates a true value.
5757
*/
5858
void trueTag() const {}
5959
};

0 commit comments

Comments
 (0)