Skip to content

Commit c4589b5

Browse files
committed
curiously enough, sqlite3.c has 2 instances of this typo
1 parent ad421d0 commit c4589b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hdr/sqlite_modern_cpp.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ template<std::size_t> class binder;
6363
template<typename T> database_binder&& operator <<(database_binder&& db,T const&& val);
6464
template<typename T> void get_col_from_db(database_binder& db, int inx, T& val);
6565

66-
class sqlite3_statment
66+
class sqlite3_statement
6767
{
6868
private:
6969
sqlite3_stmt* _stmt;
@@ -80,12 +80,12 @@ class sqlite3_statment
8080
return _stmt;
8181
}
8282

83-
sqlite3_statment(sqlite3_stmt* s)
83+
sqlite3_statement(sqlite3_stmt* s)
8484
:_stmt(s)
8585
{
8686
}
8787

88-
~sqlite3_statment()
88+
~sqlite3_statement()
8989
{
9090
//Do not check for errors: an error code means that the
9191
//*execution* of the statement failed somehow. We deal with errors
@@ -118,7 +118,7 @@ class database_binder {
118118
private:
119119
sqlite3* const _db;
120120
std::u16string _sql;
121-
sqlite3_statment _stmt;
121+
sqlite3_statement _stmt;
122122
int _inx;
123123

124124
bool execution_started = false;

0 commit comments

Comments
 (0)