diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-03 17:20:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-03 17:20:46 +0300 |
commit | ee79ea6306416dc67eec03216a4075b1c342fd89 (patch) | |
tree | 3070faa4c002bf2350422678903906606e8edd83 /tests/testsrc | |
parent | a3c1145553b12532b18d2f439b01b649dc0d4b6e (diff) | |
download | mplint-ee79ea6306416dc67eec03216a4075b1c342fd89.tar.gz mplint-ee79ea6306416dc67eec03216a4075b1c342fd89.tar.bz2 mplint-ee79ea6306416dc67eec03216a4075b1c342fd89.tar.xz mplint-ee79ea6306416dc67eec03216a4075b1c342fd89.zip |
Add finalize ignore into virtual check.
Diffstat (limited to 'tests/testsrc')
-rw-r--r-- | tests/testsrc/bad/virtual1.cpp | 4 | ||||
-rw-r--r-- | tests/testsrc/good/virtual1.cpp | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/testsrc/bad/virtual1.cpp b/tests/testsrc/bad/virtual1.cpp index cfc4176..77d525a 100644 --- a/tests/testsrc/bad/virtual1.cpp +++ b/tests/testsrc/bad/virtual1.cpp @@ -31,6 +31,8 @@ class Test1 final class Test2 notfinal : public Test1 { virtual Test2() override; - virtual Test3() final; } + virtual Test2::Test3() final + { + }
\ No newline at end of file diff --git a/tests/testsrc/good/virtual1.cpp b/tests/testsrc/good/virtual1.cpp index 0f72e65..5314e16 100644 --- a/tests/testsrc/good/virtual1.cpp +++ b/tests/testsrc/good/virtual1.cpp @@ -24,7 +24,7 @@ class Test1 final { - virtual Test1(); + virtual Test1finalize(); } class Test2 notfinal : public Test1 |