Skip to content

Commit

Permalink
Merge pull request #109 from c-dilks/fix-sqlitecpp-header
Browse files Browse the repository at this point in the history
fix: `SQLiteCpp.h` include directive and `SQLite::bind` parameter
  • Loading branch information
DraTeots authored Oct 5, 2024
2 parents fcd8e3e + 9f056e1 commit 868baea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cpp/include/RCDB/SQLiteCpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ inline void invoke_with_index(F&& f, const Args& ... args)
* @param args one or more args to bind.
*/
template<class ...Args>
void bind(SQLite::Statement& s, const Args& ... args)
void bind(Statement& s, const Args& ... args)
{
static_assert(sizeof...(args) > 0, "please invoke bind with one or more args");

Expand Down Expand Up @@ -2908,4 +2908,4 @@ namespace SQLite

} // namespace SQLite

#endif // SQLITE_CPP_HEADER_
#endif // SQLITE_CPP_HEADER_
2 changes: 1 addition & 1 deletion cpp/include/RCDB/SqLiteProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define RCDB_CPP_SQLITEPROVIDER_H

#include <sqlite3.h>
#include <SQLiteCpp/SQLiteCpp.h>
#include "SQLiteCpp.h"
#include <iostream>
#include <memory>
#include "DataProvider.h"
Expand Down

0 comments on commit 868baea

Please sign in to comment.