summaryrefslogtreecommitdiff
path: root/libsqlitepp/sqlite-command.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-09-21 17:59:41 +0100
commitf036fb38fb75c1298f6729ffc2f7d411b5478854 (patch)
tree12a6345905cceb9f50e189cdf7d2993edd0f14de /libsqlitepp/sqlite-command.cpp
parentPass cppcheck and clang-tidy (diff)
downloadlibdbpp-sqlite-f036fb38fb75c1298f6729ffc2f7d411b5478854.tar.bz2
libdbpp-sqlite-f036fb38fb75c1298f6729ffc2f7d411b5478854.tar.xz
libdbpp-sqlite-f036fb38fb75c1298f6729ffc2f7d411b5478854.zip
First commit passing IWYU
Diffstat (limited to 'libsqlitepp/sqlite-command.cpp')
-rw-r--r--libsqlitepp/sqlite-command.cpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/libsqlitepp/sqlite-command.cpp b/libsqlitepp/sqlite-command.cpp
index 694c5d2..662e053 100644
--- a/libsqlitepp/sqlite-command.cpp
+++ b/libsqlitepp/sqlite-command.cpp
@@ -1,7 +1,14 @@
#include "sqlite-command.h"
+#include "command.h"
#include "sqlite-connection.h"
-#include <cstdlib>
-#include <cstring>
+#include "sqlite-error.h"
+
+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)
{