diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2025-08-25 14:04:22 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2025-08-30 16:09:05 +0000 |
| commit | bc26db5c7ca7a1ef728796dc99e33f63d2dca949 (patch) | |
| tree | 565dda8e7d45ac0f3736e5dfc24e66e839a48133 | |
| parent | 57b9549939e54a5ad149eb5cf34e7afc88d7d319 (diff) | |
Move default constructors out of line
Were only added them for the Qt metatype system
Change-Id: I805187986a7b0f19316406e82173b84bdc1c3f4c
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit 5b48da168df01249abf4ad5332168016fbfa1a1d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| -rw-r--r-- | src/core/api/qwebenginecertificateerror.cpp | 4 | ||||
| -rw-r--r-- | src/core/api/qwebenginecertificateerror.h | 2 | ||||
| -rw-r--r-- | src/core/api/qwebenginefilesystemaccessrequest.cpp | 3 | ||||
| -rw-r--r-- | src/core/api/qwebenginefilesystemaccessrequest.h | 2 |
4 files changed, 9 insertions, 2 deletions
diff --git a/src/core/api/qwebenginecertificateerror.cpp b/src/core/api/qwebenginecertificateerror.cpp index e5ea8190e..5a14b616c 100644 --- a/src/core/api/qwebenginecertificateerror.cpp +++ b/src/core/api/qwebenginecertificateerror.cpp @@ -26,6 +26,10 @@ QWebEngineCertificateError::QWebEngineCertificateError( { } +QWebEngineCertificateError::QWebEngineCertificateError() + = default; + + QWebEngineCertificateError::QWebEngineCertificateError(const QWebEngineCertificateError &) = default; QWebEngineCertificateError& QWebEngineCertificateError::operator=(const QWebEngineCertificateError &) = default; diff --git a/src/core/api/qwebenginecertificateerror.h b/src/core/api/qwebenginecertificateerror.h index 0021f7506..73f9e41a8 100644 --- a/src/core/api/qwebenginecertificateerror.h +++ b/src/core/api/qwebenginecertificateerror.h @@ -28,7 +28,7 @@ class Q_WEBENGINECORE_EXPORT QWebEngineCertificateError Q_PROPERTY(bool isMainFrame READ isMainFrame CONSTANT FINAL REVISION(6, 8)) public: - QWebEngineCertificateError() = default; + QWebEngineCertificateError(); QWebEngineCertificateError(const QWebEngineCertificateError &other); QWebEngineCertificateError &operator=(const QWebEngineCertificateError &other); ~QWebEngineCertificateError(); diff --git a/src/core/api/qwebenginefilesystemaccessrequest.cpp b/src/core/api/qwebenginefilesystemaccessrequest.cpp index 6ef500bfe..ba597371a 100644 --- a/src/core/api/qwebenginefilesystemaccessrequest.cpp +++ b/src/core/api/qwebenginefilesystemaccessrequest.cpp @@ -47,6 +47,9 @@ QT_BEGIN_NAMESPACE \value Directory */ +QWebEngineFileSystemAccessRequest::QWebEngineFileSystemAccessRequest() + = default; + QWebEngineFileSystemAccessRequest::QWebEngineFileSystemAccessRequest( const QWebEngineFileSystemAccessRequest &other) = default; QWebEngineFileSystemAccessRequest &QWebEngineFileSystemAccessRequest::operator=( diff --git a/src/core/api/qwebenginefilesystemaccessrequest.h b/src/core/api/qwebenginefilesystemaccessrequest.h index b379edf40..e97e9525e 100644 --- a/src/core/api/qwebenginefilesystemaccessrequest.h +++ b/src/core/api/qwebenginefilesystemaccessrequest.h @@ -25,7 +25,7 @@ class Q_WEBENGINECORE_EXPORT QWebEngineFileSystemAccessRequest Q_PROPERTY(AccessFlags accessFlags READ accessFlags CONSTANT FINAL) public: - QWebEngineFileSystemAccessRequest() = default; + QWebEngineFileSystemAccessRequest(); QWebEngineFileSystemAccessRequest(const QWebEngineFileSystemAccessRequest &other); QWebEngineFileSystemAccessRequest &operator=(const QWebEngineFileSystemAccessRequest &other); QWebEngineFileSystemAccessRequest(QWebEngineFileSystemAccessRequest &&other) noexcept = default; |
