Browse Source

pEpSQLite.* - formatting

LIB-12
heck 4 years ago
parent
commit
edc8fde83d
  1. 2
      src/pEpSQLite.cc
  2. 7
      src/pEpSQLite.hh

2
src/pEpSQLite.cc

@ -9,7 +9,7 @@ using namespace std;
namespace pEp {
bool pEpSQLite::log_enabled = false;
pEpSQLite::pEpSQLite(const std::string& db_path) : db_path(db_path)
pEpSQLite::pEpSQLite(const std::string &db_path) : db_path(db_path)
{
pEpLogClass("called with: db_path = " + db_path + "");
}

7
src/pEpSQLite.hh

@ -38,14 +38,15 @@ namespace pEp {
// Logging
static bool log_enabled;
Adapter::pEpLog::pEpLogger logger{"pEpSQLite", log_enabled};
Adapter::pEpLog::pEpLogger logger{ "pEpSQLite", log_enabled };
~pEpSQLite();
private:
::sqlite3 *db = nullptr;
::sqlite3* db = nullptr;
std::string db_path;
ResultSet resultset;
Adapter::pEpLog::pEpLogger& m4gic_logger_n4ame = logger;
static int callback(void *obj, int argc, char **argv, char **azColName);
static int callback(void* obj, int argc, char** argv, char** azColName);
};
} // namespace pEp

Loading…
Cancel
Save