summaryrefslogtreecommitdiff
path: root/libpqpp/pq-connection.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-connection.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-connection.h')
-rw-r--r--libpqpp/pq-connection.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpqpp/pq-connection.h b/libpqpp/pq-connection.h
index 39f7f2a..b6f77a8 100644
--- a/libpqpp/pq-connection.h
+++ b/libpqpp/pq-connection.h
@@ -1,5 +1,4 @@
-#ifndef PQ_CONNECTION_H
-#define PQ_CONNECTION_H
+#pragma once
#include "command_fwd.h"
#include "pq-error.h"
@@ -54,5 +53,3 @@ namespace PQ {
mutable PreparedStatements preparedStatements;
};
}
-
-#endif