diff options
author | bloodstalker <thabogre@gmail.com> | 2020-03-09 20:24:20 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-03-09 20:24:20 +0000 |
commit | f99fac0079b25879e766f4d3d4490f822d6307b4 (patch) | |
tree | 04e286972fd498f0de376ebac95a4af41840138f /m0 | |
parent | mostly bug fixes for the misra-c rule checker (diff) | |
download | mutator-f99fac0079b25879e766f4d3d4490f822d6307b4.tar.gz mutator-f99fac0079b25879e766f4d3d4490f822d6307b4.zip |
build fix
Diffstat (limited to 'm0')
-rw-r--r-- | m0/mutator-lvl0.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/m0/mutator-lvl0.cpp b/m0/mutator-lvl0.cpp index 12f6598..f415e77 100644 --- a/m0/mutator-lvl0.cpp +++ b/m0/mutator-lvl0.cpp @@ -4169,8 +4169,8 @@ public: unsigned MatchCounter = 0U; - if (nullptr != RawComments) { #if __clang_major__ >= 10 + if (nullptr != RawComments) { for (auto iter : *RawComments) #elif __clang_major__ < 10 for (auto &iter : RawComments) @@ -4223,7 +4223,9 @@ public: MatchCounter = 0U; } +#if __clang_major__ >= 10 } +#endif once = true; |