Skip to content

Commit f6895d9

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CODING_STANDARD.md

Lines changed: 1 addition & 1 deletion
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 fundtion, use `override` (without `virtual`)
160160
- Single argument constructors must be `explicit`
161161
- Avoid implicit conversions
162162
- Avoid `friend` declarations

0 commit comments

Comments
 (0)