summaryrefslogtreecommitdiff
path: root/src/linguist/shared/qmakeparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/linguist/shared/qmakeparser.h')
-rw-r--r--src/linguist/shared/qmakeparser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linguist/shared/qmakeparser.h b/src/linguist/shared/qmakeparser.h
index af3403df7..ae76d8c46 100644
--- a/src/linguist/shared/qmakeparser.h
+++ b/src/linguist/shared/qmakeparser.h
@@ -110,7 +110,7 @@ private:
};
struct BlockScope {
- BlockScope() : start(0), braceLevel(0), special(false), inBranch(false), nest(NestNone) {}
+ BlockScope() : start(nullptr), braceLevel(0), special(false), inBranch(false), nest(NestNone) {}
BlockScope(const BlockScope &other) { *this = other; }
ushort *start; // Where this block started; store length here
int braceLevel; // Nesting of braces in scope