summaryrefslogtreecommitdiff
path: root/libpqpp/pq-cursorselectcommand.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-cursorselectcommand.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-cursorselectcommand.h')
-rw-r--r--libpqpp/pq-cursorselectcommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpqpp/pq-cursorselectcommand.h b/libpqpp/pq-cursorselectcommand.h
index bd46547..23798cd 100644
--- a/libpqpp/pq-cursorselectcommand.h
+++ b/libpqpp/pq-cursorselectcommand.h
@@ -1,5 +1,4 @@
-#ifndef PQ_CURSORSELECTCOMMAND_H
-#define PQ_CURSORSELECTCOMMAND_H
+#pragma once
#include "command_fwd.h"
#include "pq-command.h"
@@ -31,5 +30,3 @@ namespace PQ {
std::string s_close;
};
}
-
-#endif