diff options
Diffstat (limited to 'src/sql/kernel/qsqlerror.cpp')
-rw-r--r-- | src/sql/kernel/qsqlerror.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sql/kernel/qsqlerror.cpp b/src/sql/kernel/qsqlerror.cpp index edf034a48d..67c3be0c2d 100644 --- a/src/sql/kernel/qsqlerror.cpp +++ b/src/sql/kernel/qsqlerror.cpp @@ -121,7 +121,7 @@ QSqlError& QSqlError::operator=(const QSqlError& other) Compare the \a other error's values to this error and returns true, if it equal. */ -bool QSqlError::operator==(const QSqlError& other) +bool QSqlError::operator==(const QSqlError& other) const { return (errorType == other.errorType); } @@ -131,7 +131,7 @@ bool QSqlError::operator==(const QSqlError& other) Compare the \a other error's values to this error and returns true if it is not equal. */ -bool QSqlError::operator!=(const QSqlError& other) +bool QSqlError::operator!=(const QSqlError& other) const { return (errorType != other.errorType); } |