summaryrefslogtreecommitdiff
path: root/libpqpp/pq-command.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-command.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-command.h')
-rw-r--r--libpqpp/pq-command.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpqpp/pq-command.h b/libpqpp/pq-command.h
index 4f1f1ea..565bcfb 100644
--- a/libpqpp/pq-command.h
+++ b/libpqpp/pq-command.h
@@ -1,5 +1,4 @@
-#ifndef PQ_COMMAND_H
-#define PQ_COMMAND_H
+#pragma once
#include "command.h"
#include "pq-connection.h"
@@ -81,5 +80,3 @@ namespace PQ {
std::vector<std::unique_ptr<std::string>> bufs;
};
}
-
-#endif