summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 20:18:20 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 20:18:20 +0100
commit1aed242983a48d7f06562d4aba5be287be59a0d4 (patch)
tree17314399bf0b067d32a69352fc3c10190958ffbb
parentFirst commit passing IWYU (diff)
downloadlibdbpp-sqlite-1.4.5.tar.bz2
libdbpp-sqlite-1.4.5.tar.xz
libdbpp-sqlite-1.4.5.zip
-rw-r--r--libsqlitepp/sqlite-command.cpp3
-rw-r--r--libsqlitepp/sqlite-command.h7
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 {