diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 9101e25..a84e6ae 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -7,4 +7,4 @@ add_executable(passwordManager main.cpp PasswordManager.cpp DataBase/DataBaseHan target_include_directories(sqlite3 PUBLIC ../lib) target_link_libraries(passwordManager PRIVATE sqlite3) -add_subdirectory(test) \ No newline at end of file +add_subdirectory(test) diff --git a/source/DataBase/DataBaseCommon.cpp b/source/DataBase/DataBaseCommon.cpp index 6370077..7e69841 100644 --- a/source/DataBase/DataBaseCommon.cpp +++ b/source/DataBase/DataBaseCommon.cpp @@ -7,4 +7,4 @@ const std::vector DataBaseCommon::userRecords{"Username", "Password const std::string DataBaseCommon::dataBasePath{"../../../source/DataBase/password-manager.db"}; const std::string DataBaseCommon::users{"Users"}; -const std::string DataBaseCommon::passwords{"Passwords"}; \ No newline at end of file +const std::string DataBaseCommon::passwords{"Passwords"}; diff --git a/source/DataBase/DataBaseHandler.hpp b/source/DataBase/DataBaseHandler.hpp index 2a5c697..c524e39 100644 --- a/source/DataBase/DataBaseHandler.hpp +++ b/source/DataBase/DataBaseHandler.hpp @@ -33,4 +33,4 @@ class DataBaseHandler void executeQuery(const std::string &query); sqlite3 *database_; -}; \ No newline at end of file +}; diff --git a/source/PasswordManager.cpp b/source/PasswordManager.cpp index 0e74e1b..a3a5361 100644 --- a/source/PasswordManager.cpp +++ b/source/PasswordManager.cpp @@ -2,12 +2,13 @@ #include "PasswordManager.h" -PasswordManager::PasswordManager(const std::string& password) - : password_(password) +PasswordManager::PasswordManager(const std::string &password) + : password_(password) { std::cout << "Password is: " << password_ << '\n'; } -PasswordManager::~PasswordManager() { +PasswordManager::~PasswordManager() +{ std::cout << "Password manager destructor\n"; -} \ No newline at end of file +} diff --git a/source/main.cpp b/source/main.cpp index cbfe74c..1d78cf9 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -22,4 +22,4 @@ int main() } return 0; -} \ No newline at end of file +}