summaryrefslogtreecommitdiff
path: root/libpqpp/pq-helpers.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-10-09 00:57:59 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-10-09 00:57:59 +0100
commit523fc8c9adaa9db4398c0d80db078caa8634cef4 (patch)
treefdbf93e242dde9b2cd54fca794ab84cdb4340d19 /libpqpp/pq-helpers.h
parentAvoid repeated calls to PQunescapeBytea (diff)
downloadlibdbpp-postgresql-main.tar.bz2
libdbpp-postgresql-main.tar.xz
libdbpp-postgresql-main.zip
Replace ifndef/define/endif with pragma onceHEADmain
Diffstat (limited to 'libpqpp/pq-helpers.h')
-rw-r--r--libpqpp/pq-helpers.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpqpp/pq-helpers.h b/libpqpp/pq-helpers.h
index 7861d57..4790521 100644
--- a/libpqpp/pq-helpers.h
+++ b/libpqpp/pq-helpers.h
@@ -1,5 +1,4 @@
-#ifndef PQ_HELPERS_H
-#define PQ_HELPERS_H
+#pragma once
#include "libpq-fe.h"
#include <memory>
@@ -15,5 +14,3 @@ namespace PQ {
using ResultPtr = std::unique_ptr<PGresult, pq_deleter<PQclear>>;
}
-
-#endif