From a5b58f5ca9c9a179cfaba0ff237f12b5ca9d7de8 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Tue, 17 Nov 2009 22:15:44 +0000 Subject: 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 --- app/sql/statement.h | 2 +- app/sql/transaction.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'app/sql') 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 ref); + explicit Statement(scoped_refptr 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. -- cgit v1.1