Skip to content

Commit

Permalink
pyImpactX.H: Add Include Guard
Browse files Browse the repository at this point in the history
Add an include guard to this header file.
  • Loading branch information
ax3l committed Aug 28, 2023
1 parent d89f17e commit 8eec45a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/python/pyImpactX.H
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Authors: Axel Huebl
* License: BSD-3-Clause-LBNL
*/
#ifndef IMPACTX_PYIMPACTX_H
#define IMPACTX_PYIMPACTX_H

#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl_bind.h>
Expand All @@ -19,3 +22,5 @@ namespace py = pybind11;
using namespace impactx;

PYBIND11_MAKE_OPAQUE(std::list<KnownElements>)

#endif // IMPACTX_PYIMPACTX_H

0 comments on commit 8eec45a

Please sign in to comment.