diff options
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); } /*! |
