Skip to content

Commit dd77f45

Browse files
committed
swap from pragma once to header guards
1 parent ee26465 commit dd77f45

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

include/Periodic.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
// for more details.
88
//
99

10-
#pragma once
10+
#ifndef INCLUDE_PERIODIC_H_
11+
#define INCLUDE_PERIODIC_H_
1112

1213
#include "KokkosInterface.h"
1314

@@ -48,8 +49,7 @@ struct TranslationMapping
4849
stk::mesh::Selector selector_b;
4950
};
5051

51-
std::optional<TranslationMapping>
52-
make_translation_mapping(
52+
std::optional<TranslationMapping> make_translation_mapping(
5353
const std::vector<PeriodicBCData>& data,
5454
stk::mesh::BulkData& mesh,
5555
const stk::mesh::Selector& active_not_aura,
@@ -81,3 +81,5 @@ void set_periodic_on_mesh(
8181
const std::optional<periodic::TranslationMapping>& periodic);
8282

8383
} // namespace sierra::nalu::periodic
84+
85+
#endif

0 commit comments

Comments
 (0)