summaryrefslogtreecommitdiff
path: root/src/pyutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyutils.h')
-rw-r--r--src/pyutils.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pyutils.h b/src/pyutils.h
index f7c04910..aa9c4451 100644
--- a/src/pyutils.h
+++ b/src/pyutils.h
@@ -37,9 +37,7 @@
*
* @brief Basic utilities for Python API.
*/
-
-#ifndef INCLUDED_PYUTILS_H
-#define INCLUDED_PYUTILS_H
+#pragma once
template <typename T, typename TfromPy>
struct object_from_python
@@ -192,5 +190,3 @@ namespace boost { namespace python {
} } // namespace boost::python
//boost::python::register_ptr_to_python< boost::shared_ptr<Base> >();
-
-#endif // INCLUDED_PYUTILS_H