summaryrefslogtreecommitdiff
path: root/libpqpp/pq-modifycommand.h
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
commit465ea24362ee267cf83909efa0b5cdee689ff1f7 (patch)
treed51980f0d0ca1460c320704aea50030043692e7e /libpqpp/pq-modifycommand.h
parentPass cppcheck and clang-tidy (diff)
downloadlibdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.tar.bz2
libdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.tar.xz
libdbpp-postgresql-465ea24362ee267cf83909efa0b5cdee689ff1f7.zip
First commit passing IWYU
Diffstat (limited to 'libpqpp/pq-modifycommand.h')
-rw-r--r--libpqpp/pq-modifycommand.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h
index 36de37a..cc4ce7b 100644
--- a/libpqpp/pq-modifycommand.h
+++ b/libpqpp/pq-modifycommand.h
@@ -1,11 +1,13 @@
#ifndef PQ_MODIFYCOMMAND_H
#define PQ_MODIFYCOMMAND_H
-#include "pq-connection.h"
+#include "command_fwd.h"
#include "pq-prepared.h"
#include <modifycommand.h>
+#include <string>
namespace PQ {
+ class Connection;
class ModifyCommand : public DB::ModifyCommand, public PreparedStatement {
public:
ModifyCommand(Connection *, const std::string & sql, const DB::CommandOptionsCPtr &);