From e47510c014a5f44fed12cd7ea95db351ad50fac9 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sun, 3 Nov 2024 01:59:35 -0500 Subject: [PATCH] feat: update tests --- expected.json | 2 +- src/simple.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/expected.json b/expected.json index 844fe69..45d7aa8 100644 --- a/expected.json +++ b/expected.json @@ -1 +1 @@ -[{"name":"cppcheck","results":[{"score":32,"comment":"### Test results summary\n\n1. error: 8\n2. warning: 3\n3. portability: 0\n4. performance: 0\n5. style: 22\n6. information: 3\n7. debug: 0\n"}],"force_quit":false}] +[{"name":"cppcheck","results":[{"score":33,"comment":"### Test results summary\n\n1. error: 8\n2. warning: 2\n3. portability: 0\n4. performance: 0\n5. style: 23\n6. information: 3\n7. debug: 0\n"}],"force_quit":false}] diff --git a/src/simple.cpp b/src/simple.cpp index d266608..e717d95 100644 --- a/src/simple.cpp +++ b/src/simple.cpp @@ -105,7 +105,6 @@ public: class Derived : public Base { public: - void normalFunction() {} // Hiding base class function void virtualFunction() {} // Missing override keyword };