aboutsummaryrefslogtreecommitdiff
path: root/docs/CODE_GUIDELINES.md
diff options
context:
space:
mode:
authorAndre Meyering <info@andremeyering.de>2020-01-10 12:58:00 +0100
committerAndre Meyering <info@andremeyering.de>2020-01-10 12:58:00 +0100
commitd5206bfcfae45ada95109a3818f620be308edea7 (patch)
treed61f7d530f34d857c39f07ee9513d8b2d4c058f8 /docs/CODE_GUIDELINES.md
parentfd07663a00d702a86e28af97f8112bc1ec12d44e (diff)
[Docs] Fix minor typos
- found using ispell - `find . -type f -iname '*.md' -exec ispell {} \;`
Diffstat (limited to 'docs/CODE_GUIDELINES.md')
-rw-r--r--docs/CODE_GUIDELINES.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CODE_GUIDELINES.md b/docs/CODE_GUIDELINES.md
index 7298d75ccc..0064f121b8 100644
--- a/docs/CODE_GUIDELINES.md
+++ b/docs/CODE_GUIDELINES.md
@@ -504,7 +504,7 @@ void MyDummyClass::DoSomething();
Use CamelCase. Type prefixing (Systems Hungarian notation) is discouraged.
#### Member variables
-Prefix nonstatic member variables with `m_`. Prefix static member variables with `ms_`.
+Prefix non-static member variables with `m_`. Prefix static member variables with `ms_`.
```cpp
int m_variableA;
static int ms_variableB;
@@ -651,7 +651,7 @@ class Foo
### 11.5. Destructors in interfaces
-A class with any virtual functions should have a destructor that is either public and virtual or else protected and nonvirtual (cf. [ISO C++ guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-dtor-virtual)).
+A class with any virtual functions should have a destructor that is either public and virtual or else protected and non-virtual (cf. [ISO C++ guidelines](http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rc-dtor-virtual)).
### 11.6. Constructor Initialzation Lists