diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-21 20:18:20 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-09-21 20:18:20 +0100 |
commit | 1aed242983a48d7f06562d4aba5be287be59a0d4 (patch) | |
tree | 17314399bf0b067d32a69352fc3c10190958ffbb | |
parent | First commit passing IWYU (diff) | |
download | libdbpp-sqlite-1.4.5.tar.bz2 libdbpp-sqlite-1.4.5.tar.xz libdbpp-sqlite-1.4.5.zip |
Tidy up IWYUlibdbpp-sqlite-1.4.5
-rw-r--r-- | libsqlitepp/sqlite-command.cpp | 3 | ||||
-rw-r--r-- | libsqlitepp/sqlite-command.h | 7 |
2 files changed, 1 insertions, 9 deletions
diff --git a/libsqlitepp/sqlite-command.cpp b/libsqlitepp/sqlite-command.cpp index 662e053..a789269 100644 --- a/libsqlitepp/sqlite-command.cpp +++ b/libsqlitepp/sqlite-command.cpp @@ -6,9 +6,6 @@ namespace Glib { class ustring; } -namespace boost::posix_time { - class time_duration; -} SQLite::Command::Command(const Connection * conn, const std::string & sql) : DB::Command(sql), c(conn), stmt(nullptr) { diff --git a/libsqlitepp/sqlite-command.h b/libsqlitepp/sqlite-command.h index cf36ec3..2bf9cc1 100644 --- a/libsqlitepp/sqlite-command.h +++ b/libsqlitepp/sqlite-command.h @@ -1,18 +1,13 @@ #ifndef SQLITE_COMMAND_H #define SQLITE_COMMAND_H -#include <boost/date_time/posix_time/posix_time_types.hpp> -#include <boost/date_time/posix_time/ptime.hpp> +#include <boost/date_time/posix_time/posix_time.hpp> #include <command.h> #include <glibmm/ustring.h> #include <sqlite3.h> #include <string> #include <string_view> -namespace boost::posix_time { - class time_duration; -} - namespace SQLite { class Connection; class Command : public virtual DB::Command { |