summaryrefslogtreecommitdiffstats
path: root/src/linguist/shared/qmakeevaluator.h
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-08-03 00:22:24 +0200
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2018-09-14 13:51:18 +0000
commit22809a142e08955554c54be452f6ff2e079a7fd8 (patch)
tree721f56e8c6eba300b24adf036c14550e74798379 /src/linguist/shared/qmakeevaluator.h
parent5989ab6e8482862c3888eeab4d5bc806b81e1db8 (diff)
qmake: Apply modernize-use-nullptr
Use nullptr instead of 0. Change-Id: Ib3120b9c424a274a2d4dd4c42ec5d7cd5bdead65 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> (cherry picked from qtbase/a959a0e20695c4b38cf201d194e1ed7b0331e233) Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/linguist/shared/qmakeevaluator.h')
-rw-r--r--src/linguist/shared/qmakeevaluator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/linguist/shared/qmakeevaluator.h b/src/linguist/shared/qmakeevaluator.h
index 92a24a569..83adda3f6 100644
--- a/src/linguist/shared/qmakeevaluator.h
+++ b/src/linguist/shared/qmakeevaluator.h
@@ -282,9 +282,9 @@ public:
#endif
struct Location {
- Location() : pro(0), line(0) {}
+ Location() : pro(nullptr), line(0) {}
Location(ProFile *_pro, ushort _line) : pro(_pro), line(_line) {}
- void clear() { pro = 0; line = 0; }
+ void clear() { pro = nullptr; line = 0; }
ProFile *pro;
ushort line;
};