summaryrefslogtreecommitdiffstats
path: root/src/qdoc/doc.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-09-26 16:23:15 +0200
committerPaul Wicking <paul.wicking@qt.io>2020-02-12 13:14:42 +0100
commit26daab2554a55243a0cb6744346e1cfb27cfc3a9 (patch)
tree4906f37a399f2073af697f0871e32fa2e74b5382 /src/qdoc/doc.cpp
parent559332dc3efa507baaaba4ea8288bdb2318bc73d (diff)
QDoc: Remove Location::null
As Location is not a CoW class, the use of Location::null over Location() seems unfounded. Remove the static null object and replace its use. Change-Id: I27dd4dfabffbfedb4f310dac43614e1ebb03c522 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/qdoc/doc.cpp')
-rw-r--r--src/qdoc/doc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qdoc/doc.cpp b/src/qdoc/doc.cpp
index 89748b0ad..e20870319 100644
--- a/src/qdoc/doc.cpp
+++ b/src/qdoc/doc.cpp
@@ -328,7 +328,7 @@ typedef QMap<QString, ArgList> CommandMap;
class DocPrivate : public Shared
{
public:
- DocPrivate(const Location &start = Location::null, const Location &end = Location::null,
+ DocPrivate(const Location &start = Location(), const Location &end = Location(),
const QString &source = QString());
~DocPrivate();