diff options
Diffstat (limited to 'app/sql/transaction.h')
-rw-r--r-- | app/sql/transaction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sql/transaction.h b/app/sql/transaction.h index 1e00c6f..70741d1 100644 --- a/app/sql/transaction.h +++ b/app/sql/transaction.h @@ -17,7 +17,7 @@ class Transaction { // transaction. If you have begun a transaction and not committed it, the // constructor will roll back the transaction. If you want to commit, you // need to manually call Commit before this goes out of scope. - Transaction(Connection* connection); + explicit Transaction(Connection* connection); ~Transaction(); // Returns true when there is a transaction that has been successfully begun. |