diff options
| author | Isak Fyksen <isak.fyksen@qt.io> | 2024-10-17 12:01:48 +0200 |
|---|---|---|
| committer | Isak Fyksen <isak.fyksen@qt.io> | 2024-11-21 16:10:37 +0000 |
| commit | 35022c1698664b1171e0e5e9611bd9de75d31765 (patch) | |
| tree | 208b7e1600992fd48c94f515076798587c82b2d9 /src/opengl/qopenglversionprofile.cpp | |
| parent | abe3eed54889dc8979b14c4aed1a0cae431f50ff (diff) | |
Replace QPair/qMakePair with std::pair in qtbase/opengl
Task-number: QTBUG-115841
Change-Id: Ic7a362a41fb52d39d8a168f0ba4ed6d33458dd73
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
Diffstat (limited to 'src/opengl/qopenglversionprofile.cpp')
| -rw-r--r-- | src/opengl/qopenglversionprofile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opengl/qopenglversionprofile.cpp b/src/opengl/qopenglversionprofile.cpp index 3b5ed83a135..e38821607f3 100644 --- a/src/opengl/qopenglversionprofile.cpp +++ b/src/opengl/qopenglversionprofile.cpp @@ -84,14 +84,14 @@ QOpenGLVersionProfile &QOpenGLVersionProfile::operator=(const QOpenGLVersionProf } /*! - Returns a QPair<int,int> where the components represent the major and minor OpenGL + Returns a std::pair<int,int> where the components represent the major and minor OpenGL version numbers respectively. \sa setVersion() */ -QPair<int, int> QOpenGLVersionProfile::version() const +std::pair<int, int> QOpenGLVersionProfile::version() const { - return qMakePair( d->majorVersion, d->minorVersion); + return std::pair( d->majorVersion, d->minorVersion); } /*! |
