summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-05-07 10:52:53 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2019-05-07 13:28:29 +0000
commit35b25bc91784f5a39ee034a99167d5bfee49f74b (patch)
treef6198a2b9f4456c05f3399d60e95da57499b0036 /src/corelib/tools/qsharedpointer.h
parentaea6ff4f57135b0f2f076e86e22cb87c0a7014fe (diff)
parentc2b553784dfbe0ece90f79709639e27e74359a7d (diff)
Merge "Merge remote-tracking branch 'origin/5.13' into dev" into refs/staging/dev
Diffstat (limited to 'src/corelib/tools/qsharedpointer.h')
-rw-r--r--src/corelib/tools/qsharedpointer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qsharedpointer.h b/src/corelib/tools/qsharedpointer.h
index 80d0618402..5d47369687 100644
--- a/src/corelib/tools/qsharedpointer.h
+++ b/src/corelib/tools/qsharedpointer.h
@@ -99,8 +99,8 @@ public:
template <class X> QSharedPointer<X> constCast() const;
template <class X> QSharedPointer<X> objectCast() const;
- static inline QSharedPointer<T> create();
- static inline QSharedPointer<T> create(...);
+ template <typename... Args>
+ static inline QSharedPointer<T> create(Args &&... args);
};
template <class T>