summaryrefslogtreecommitdiff
path: root/src/rules/final.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rules/final.cpp')
-rw-r--r--src/rules/final.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rules/final.cpp b/src/rules/final.cpp
index a3ef501..bc2acb7 100644
--- a/src/rules/final.cpp
+++ b/src/rules/final.cpp
@@ -38,7 +38,7 @@ endRule(finalCheck)
parseLineRule(finalCheck)
{
- if (isMatch(data, "([ ]*)(class|struct) ([a-zA-Z_0123456789]+)"
+ if (isMatch(data, "([ ]*)(static |)(class|struct) ([a-zA-Z_0123456789]+)"
"($|( [:])([^;]+)(.*))"))
{
print("Need add final or notfinal into class declaration");