Fix c++ compiler warnings in c++11 testcases
This commit is contained in:
parent
57a89f987d
commit
be63f73e33
6 changed files with 31 additions and 10 deletions
|
|
@ -13,6 +13,7 @@ struct SomeStruct {
|
|||
auto addAlternateMemberPtrConstParm(int x, int (SomeStruct::*mp)(int, int) const) const -> int;
|
||||
|
||||
virtual auto addFinal(int x, int y) const noexcept -> int final { return x + y; }
|
||||
virtual ~SomeStruct() = default;
|
||||
};
|
||||
|
||||
int SomeStruct::addNormal(int x, int y) { return x + y; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue