summaryrefslogtreecommitdiff
path: root/src/pyutils.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-10 19:36:12 +0200
commitca375cc8af4bb9d3a870dd0ff81e9853be216c87 (patch)
tree2dce91e7281b45f1c5bfd0f971f4b2ca24ed6333 /src/pyutils.h
parent4f40c3056a68151f52422d54572fa72c0f19151d (diff)
downloadfork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.gz
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.tar.bz2
fork-ledger-ca375cc8af4bb9d3a870dd0ff81e9853be216c87.zip
Use #pragma once
Diffstat (limited to 'src/pyutils.h')
-rw-r--r--src/pyutils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pyutils.h b/src/pyutils.h
index df4903cf..5148e888 100644
--- a/src/pyutils.h
+++ b/src/pyutils.h
@@ -29,8 +29,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef INCLUDED_PYUTILS_H
-#define INCLUDED_PYUTILS_H
+#pragma once
template <typename T, typename TfromPy>
struct object_from_python
@@ -183,5 +182,3 @@ namespace boost { namespace python {
} } // namespace boost::python
//boost::python::register_ptr_to_python< boost::shared_ptr<Base> >();
-
-#endif // INCLUDED_PYUTILS_H