diff --git a/calendar-daemon.cpp b/calendar-daemon.cpp index b2a5c52..4b977ce 100644 --- a/calendar-daemon.cpp +++ b/calendar-daemon.cpp @@ -1,28 +1,28 @@ -#include -#include #include #include -#include +#include #include +#include +#include #include #include #include #include +#include #include #include -#include -#include +#include #include -#include +#include #include -#include -#include -#include +#include #include - #include +#include +#include + const int MINUTE = 60; const int SLEEP_INTERVAL = 60 * MINUTE; @@ -30,7 +30,6 @@ const int SLEEP_INTERVAL = 60 * MINUTE; sql::Database* init_database(std::string calendar) { return db::init(calendar + ".db"); } - void update_database(std::string directory, sql::Database *db) { std::vector objects = util::parse_cal_dir(directory); for(auto const& obj : objects) {