Skip to content

Commit 85c8b1c

Browse files
fix default constructor declaration
1 parent 2a700b5 commit 85c8b1c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sqlite3pp_ez.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ namespace sqlite3pp
242242
{
243243
const char* DefaultType = "StrType";
244244
if (!str) return DefaultType;
245-
// There's no pratical method for handling blob or clob other than the Blob and Clob type, so don't even include them in an option to declare them any other way.
245+
// There's no practical method for handling blob or clob other than the Blob and Clob type, so don't even include them in an option to declare them any other way.
246246
if (strcmp("BLOB", str) == 0)
247247
return "Blob";
248248
if (strcmp("CLOB", str) == 0)

sqlite3pp_ez.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ namespace sqlite3pp
232232
);
233233
public:
234234
// This constructor is best to use when creating a header for all tables
235-
SQLiteClassBuilder(const std::string& Db_filename
235+
SQLiteClassBuilder(const std::string& Db_filename // Only Required Field
236236
, const StrOptions &stroptions = strOpt_std_string // StrOptions is used to define the default string type. Can be set to a custom define StrOptions, or to one of the predefined common options (strOpt_std_string, strOpt_std_wstring, strOpt_std_tstring, strOpt_sql_tstring)
237237
, const MiscOptions &miscoptions = MiscOpt_max // MiscOptions is used to define miscellaneous options. Can be set to a custom define MiscOptions, or to one of the predefined common options (MiscOpt_max, MiscOpt_min, MiscOpt_var)
238238
, const HeaderOpt &headeropt = HeaderDefaultOpt // HeaderOpt is used to define the naming convention to use when creating the header file(s).
@@ -249,9 +249,9 @@ namespace sqlite3pp
249249
) :m_db(Db_filename.c_str()), m_AppendTableToHeader(false){Init(TableOrView_name, PostFixWhereClause, stroptions, miscoptions, headeropt);}
250250

251251
// This constructor is best when crating a single header or no headers at all in the contructor. (When no headers are created by the constructor, the headers are created by explicitly calling member functions CreateHeader or CreateAllHeaders)
252-
SQLiteClassBuilder(const std::string& Db_filename // Only Required Field
252+
SQLiteClassBuilder(const std::string& Db_filename
253253
, const std::string &PostFixWhereClause // Used when creating multiple tables. Can specify which tables/views to include.
254-
, const std::string& TableOrView_name = "" // If equal to "%CreateHeaderForAllTables%", a header for each table and view is created. If equal to table or view name, a single header for associated table or view is created. If empty or equal to "#NILL#", the constructor does not create any headers.
254+
, const std::string& TableOrView_name // If equal to "%CreateHeaderForAllTables%", a header for each table and view is created. If equal to table or view name, a single header for associated table or view is created. If empty or equal to "#NILL#", the constructor does not create any headers.
255255
, const StrOptions &stroptions = strOpt_std_string // StrOptions is used to define the default string type. Can be set to a custom define StrOptions, or to one of the predefined common options (strOpt_std_string, strOpt_std_wstring, strOpt_std_tstring, strOpt_sql_tstring)
256256
, const MiscOptions &miscoptions = MiscOpt_max // MiscOptions is used to define miscellaneous options. Can be set to a custom define MiscOptions, or to one of the predefined common options (MiscOpt_max, MiscOpt_min, MiscOpt_var)
257257
, const HeaderOpt &headeropt = HeaderDefaultOpt // HeaderOpt is used to define the naming convention to use when creating the header file(s).

0 commit comments

Comments
 (0)