mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Remove virtual destructor since there are no virtual methods or subclasses
This commit is contained in:
parent
1fd32277c1
commit
ec8253236b
@ -100,7 +100,7 @@ public:
|
|||||||
Database& aSrcDatabase);
|
Database& aSrcDatabase);
|
||||||
|
|
||||||
/// Release the SQLite Backup resource.
|
/// Release the SQLite Backup resource.
|
||||||
virtual ~Backup();
|
~Backup();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Execute a step of backup with a given number of source pages to be copied
|
* @brief Execute a step of backup with a given number of source pages to be copied
|
||||||
|
@ -54,7 +54,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
Column(Statement::Ptr& aStmtPtr, int aIndex) noexcept; // nothrow
|
Column(Statement::Ptr& aStmtPtr, int aIndex) noexcept; // nothrow
|
||||||
/// Simple destructor
|
/// Simple destructor
|
||||||
virtual ~Column();
|
~Column();
|
||||||
|
|
||||||
// default copy constructor and assignment operator are perfectly suited :
|
// default copy constructor and assignment operator are perfectly suited :
|
||||||
// they copy the Statement::Ptr which in turn increments the reference counter.
|
// they copy the Statement::Ptr which in turn increments the reference counter.
|
||||||
|
@ -127,7 +127,7 @@ public:
|
|||||||
*
|
*
|
||||||
* @warning assert in case of error
|
* @warning assert in case of error
|
||||||
*/
|
*/
|
||||||
virtual ~Database();
|
~Database();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set a busy handler that sleeps for a specified amount of time when a table is locked.
|
* @brief Set a busy handler that sleeps for a specified amount of time when a table is locked.
|
||||||
|
@ -73,7 +73,7 @@ public:
|
|||||||
Statement(Database& aDatabase, const std::string& aQuery);
|
Statement(Database& aDatabase, const std::string& aQuery);
|
||||||
|
|
||||||
/// Finalize and unregister the SQL query from the SQLite Database Connection.
|
/// Finalize and unregister the SQL query from the SQLite Database Connection.
|
||||||
virtual ~Statement();
|
~Statement();
|
||||||
|
|
||||||
/// Reset the statement to make it ready for a new execution.
|
/// Reset the statement to make it ready for a new execution.
|
||||||
void reset();
|
void reset();
|
||||||
|
@ -55,7 +55,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
* @brief Safely rollback the transaction if it has not been committed.
|
* @brief Safely rollback the transaction if it has not been committed.
|
||||||
*/
|
*/
|
||||||
virtual ~Transaction();
|
~Transaction();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Commit the transaction.
|
* @brief Commit the transaction.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user