summaryrefslogtreecommitdiff
path: root/libpqpp/pq-binarycolumn.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-binarycolumn.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-binarycolumn.h')
-rw-r--r--libpqpp/pq-binarycolumn.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpqpp/pq-binarycolumn.h b/libpqpp/pq-binarycolumn.h
index e44d7e2..0d40c84 100644
--- a/libpqpp/pq-binarycolumn.h
+++ b/libpqpp/pq-binarycolumn.h
@@ -1,5 +1,4 @@
-#ifndef PG_BINARY_COLUMN_H
-#define PG_BINARY_COLUMN_H
+#pragma once
#include "pq-column.h"
@@ -20,5 +19,3 @@ namespace PQ {
template<std::integral T> [[nodiscard]] inline T valueAs() const;
};
}
-
-#endif