mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Adds include guards to version.h.in
This commit is contained in:
parent
bd3fe3a893
commit
df30923a33
1 changed files with 5 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef OPENMC_VERSION_H
|
||||
#define OPENMC_VERSION_H
|
||||
|
||||
#include "openmc/array.h"
|
||||
|
||||
namespace openmc {
|
||||
|
|
@ -12,3 +15,5 @@ constexpr std::array<int, 3> VERSION {VERSION_MAJOR, VERSION_MINOR, VERSION_RELE
|
|||
// clang-format on
|
||||
|
||||
} // namespace openmc
|
||||
|
||||
#endif // OPENMC_VERSION_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue