From d9bbb065fd49b4113cedda0873ba6a85d7b5ba3d Mon Sep 17 00:00:00 2001 From: Nathan Phillips Date: Fri, 13 Apr 2018 17:21:34 +0100 Subject: [PATCH] Get legalistic about use of virtual with override --- CODING_STANDARD.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CODING_STANDARD.md b/CODING_STANDARD.md index c5d67173e14..972a59ffd24 100644 --- a/CODING_STANDARD.md +++ b/CODING_STANDARD.md @@ -154,6 +154,7 @@ Formatting is enforced using clang-format. For more information about this, see - Make member functions `const` whenever possible - Do not hide base class functions - You are encouraged to use `override` +- When using `override` also use `virtual` - Single argument constructors must be `explicit` - Avoid implicit conversions - Avoid `friend` declarations