diff options
Diffstat (limited to 'src/rules/final.cpp')
-rw-r--r-- | src/rules/final.cpp | 2 |
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"); |