Skip to content

Commit b5dec9c

Browse files
Get legalistic about use of override without virtual
1 parent 0f9c202 commit b5dec9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CODING_STANDARD.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ Formatting is enforced using clang-format. For more information about this, see
156156
- Make references `const` whenever possible
157157
- Make member functions `const` whenever possible
158158
- Do not hide base class functions
159-
- You are encouraged to use `override`
159+
- When overriding a virtual function, use `override` (without `virtual`)
160160
- Single argument constructors must be `explicit`
161161
- Avoid implicit conversions
162162
- Avoid `friend` declarations

0 commit comments

Comments
 (0)