summaryrefslogtreecommitdiff
path: root/libpqpp/pq-error.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-error.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-error.h')
-rw-r--r--libpqpp/pq-error.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libpqpp/pq-error.h b/libpqpp/pq-error.h
index 9c14e2d..bc701fa 100644
--- a/libpqpp/pq-error.h
+++ b/libpqpp/pq-error.h
@@ -1,9 +1,11 @@
#ifndef PQ_ERROR_H
#define PQ_ERROR_H
-#include <error.h>
+#include "error.h" // IWYU pragma: export
#include <exception.h>
#include <libpq-fe.h>
+#include <string>
+// IWYU pragma: no_forward_declare DB::Error
namespace PQ {
class Error : public AdHoc::Exception<DB::Error> {