-
Key: CPP1115-3
-
Status: closed
-
Source: Remedy IT ( Johnny Willemsen)
-
Summary:
Any C++11 operation in the spec which uses override shouldn't have virtual, that is redundant and shouldn't be done, so for example
virtual void val2 (int32_t) override;
Should be
void val2 (int32_t) override;
Easiest is to search for override and check that any operation that has override doesn't have virtual
-
Reported: CPP11 1.4 — Fri, 18 Sep 2020 08:23 GMT
-
Disposition: Resolved — CPP11 1.5
-
Disposition Summary:
Remove uses of the C++ virtual keyword that aren't needed
Member functions declared with "override" should not also have "virtual"
-
Updated: Mon, 29 Mar 2021 12:21 GMT
CPP1115 — Operations tagged with override shouldn't have virtual
- Key: CPP1115-3
- OMG Task Force: IDL to C++11 1.5 RTF