Fix cpplint style warning introduced by #45

This commit is contained in:
Sébastien Rombauts 2015-04-20 21:04:43 +02:00
parent 6499f93b07
commit 29a9645314

View File

@ -268,7 +268,7 @@ Column Statement::getColumn(const char* aName)
} }
else else
{ {
for (int i = 0; i < mColumnCount; i++) { for (int i = 0; i < mColumnCount; ++i) {
if (sqlite3_column_name(mStmtPtr, i) == aName) if (sqlite3_column_name(mStmtPtr, i) == aName)
break; break;
} }
@ -276,7 +276,6 @@ Column Statement::getColumn(const char* aName)
if ((aIndex < 0) || (aIndex >= mColumnCount)) { if ((aIndex < 0) || (aIndex >= mColumnCount)) {
throw SQLite::Exception("Column index out of range"); throw SQLite::Exception("Column index out of range");
} }
} }
// Share the Statement Object handle with the new Column created // Share the Statement Object handle with the new Column created