diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 22:15:44 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-17 22:15:44 +0000 |
commit | a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8 (patch) | |
tree | 8c17b41a706b9fab9960e947a52860bf0efc9712 /app/sql | |
parent | a3aaf3d6b857cdc73f837b36b05bf75bbd76b3b1 (diff) | |
download | chromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.zip chromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.tar.gz chromium_src-a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8.tar.bz2 |
Fix lint errors in app/ and turn on presubmit check.
Review URL: http://codereview.chromium.org/400016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32222 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/sql')
-rw-r--r-- | app/sql/statement.h | 2 | ||||
-rw-r--r-- | app/sql/transaction.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/sql/statement.h b/app/sql/statement.h index 8ee6ef5..92495c7 100644 --- a/app/sql/statement.h +++ b/app/sql/statement.h @@ -42,7 +42,7 @@ class Statement { // you initialize it via Assign. Statement(); - Statement(scoped_refptr<Connection::StatementRef> ref); + explicit Statement(scoped_refptr<Connection::StatementRef> ref); ~Statement(); // Initializes this object with the given statement, which may or may not 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. |