diff options
author | Timothy Pearson <[email protected]> | 2012-12-01 23:30:27 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-12-01 23:30:27 -0600 |
commit | 7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372 (patch) | |
tree | 9eff0506756adca6934846467804a19f291b4509 /src/sql | |
parent | bb07131a9191affa4c66f6bc720a388f96343836 (diff) | |
download | qt3-7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372.tar.gz qt3-7aa5ac7f0e76c5b87e4ca837b75b3edd522a3372.zip |
Fix a number of build warnings that could lead to unstable operation
This breaks the ABI
Diffstat (limited to 'src/sql')
-rw-r--r-- | src/sql/qsqldatabase.cpp | 6 | ||||
-rw-r--r-- | src/sql/qsqldatabase.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/sql/qsqldatabase.cpp b/src/sql/qsqldatabase.cpp index eaa7a70..af069a4 100644 --- a/src/sql/qsqldatabase.cpp +++ b/src/sql/qsqldatabase.cpp @@ -144,6 +144,12 @@ public: QSqlQuery createQuery() const { return QSqlQuery( new QNullResult(this) ); } }; +QSqlDriverCreatorBase::QSqlDriverCreatorBase() { +} + +QSqlDriverCreatorBase::~QSqlDriverCreatorBase() { +} + typedef QDict<QSqlDriverCreatorBase> QDriverDict; class QSqlDatabaseManager : public QObject diff --git a/src/sql/qsqldatabase.h b/src/sql/qsqldatabase.h index 3186956..fb07513 100644 --- a/src/sql/qsqldatabase.h +++ b/src/sql/qsqldatabase.h @@ -66,6 +66,9 @@ class QSqlDatabasePrivate; class QM_EXPORT_SQL QSqlDriverCreatorBase { public: + QSqlDriverCreatorBase(); + virtual ~QSqlDriverCreatorBase(); +public: virtual QSqlDriver* createObject() = 0; }; |