mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-17 01:09:36 -06:00
Mark some constructors as explicit
No functional changes here.
This commit is contained in:
@@ -53,7 +53,7 @@ class CSVParser
|
||||
public:
|
||||
using csvRowFunction = std::function<bool(size_t, CSVRow)>;
|
||||
|
||||
CSVParser(bool trimfields = true, char32_t fieldseparator = ',', char32_t quotechar = '"');
|
||||
explicit CSVParser(bool trimfields = true, char32_t fieldseparator = ',', char32_t quotechar = '"');
|
||||
~CSVParser();
|
||||
|
||||
enum ParserResult
|
||||
|
||||
@@ -115,7 +115,7 @@ protected:
|
||||
class ForeignKeyClause : public Constraint
|
||||
{
|
||||
public:
|
||||
ForeignKeyClause(const std::string& table = std::string(), const StringVector& columns = {}, const std::string& constraint = std::string())
|
||||
explicit ForeignKeyClause(const std::string& table = std::string(), const StringVector& columns = {}, const std::string& constraint = std::string())
|
||||
: m_table(table),
|
||||
m_columns(columns),
|
||||
m_constraint(constraint)
|
||||
|
||||
Reference in New Issue
Block a user