From edc8fde83d28c39246be166021ad696130db50be Mon Sep 17 00:00:00 2001 From: heck Date: Mon, 19 Apr 2021 16:38:03 +0200 Subject: [PATCH] pEpSQLite.* - formatting --- src/pEpSQLite.cc | 2 +- src/pEpSQLite.hh | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/pEpSQLite.cc b/src/pEpSQLite.cc index 5b7c020..72891d9 100644 --- a/src/pEpSQLite.cc +++ b/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 + ""); } diff --git a/src/pEpSQLite.hh b/src/pEpSQLite.hh index 34b1ddb..6f4c8bd 100644 --- a/src/pEpSQLite.hh +++ b/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