Skip to content

Commit b8e39ab

Browse files
authored
Fix Include Guard in pyAMReX.H (#179)
Every header needs an include guard to avoid duplicate definitions as this file grows with more content.
1 parent 12adfe1 commit b8e39ab

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pyAMReX.H

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Authors: Axel Huebl
77
* License: BSD-3-Clause-LBNL
88
*/
9+
#pragma once
10+
911
#include <pybind11/pybind11.h>
1012
#include <pybind11/functional.h>
1113
#include <pybind11/numpy.h>

0 commit comments

Comments
 (0)