summaryrefslogtreecommitdiffstats
path: root/qmake/generators/makefiledeps.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-08-06 14:35:04 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-08-30 12:30:26 +0200
commit11206b5340cf6551d01b266cf096d1641796d300 (patch)
treeb2dbec87edeb3038054e97ef2d5184ba8124308e /qmake/generators/makefiledeps.h
parent0d6e555778bdfba5dba2b199dfb80086af3a29f1 (diff)
Remove QMakeLocalFileName::is_null
This is never different from real_name.isNull(). Change-Id: Ic1442f2eec4d7dfb2d3694e85d664f1509d4b68b Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'qmake/generators/makefiledeps.h')
-rw-r--r--qmake/generators/makefiledeps.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/qmake/generators/makefiledeps.h b/qmake/generators/makefiledeps.h
index 66b87bf470..7e39396754 100644
--- a/qmake/generators/makefiledeps.h
+++ b/qmake/generators/makefiledeps.h
@@ -41,14 +41,14 @@ struct SourceFile;
struct SourceDependChildren;
class SourceFiles;
-class QMakeLocalFileName {
- bool is_null;
+class QMakeLocalFileName
+{
QString real_name;
mutable QString local_name;
public:
- QMakeLocalFileName() : is_null(true) {}
+ QMakeLocalFileName() = default;
QMakeLocalFileName(const QString &);
- bool isNull() const { return is_null; }
+ bool isNull() const { return real_name.isNull(); }
inline const QString &real() const { return real_name; }
const QString &local() const;