Skip to content

Commit

Permalink
Merge pull request #1408 from DLR-AMR/replace-pragma-once-by-include-…
Browse files Browse the repository at this point in the history
…guard

Replace pragma by include guard
  • Loading branch information
sandro-elsweijer authored Feb 17, 2025
2 parents f5d47b2 + 9c749d0 commit 2874fda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/t8_cmesh.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
* We define the coarse mesh of trees in this file.
*/

#pragma once
#ifndef T8_CMESH_HXX
#define T8_CMESH_HXX

#include <t8_cmesh.h>
#include <t8_cmesh/t8_cmesh_types.h>
Expand All @@ -48,3 +49,5 @@ t8_cmesh_register_geometry (t8_cmesh_t cmesh, _args &&...args)
}
return cmesh->geometry_handler->register_geometry<geometry_type> (std::forward<_args> (args)...);
}

#endif /* T8_CMESH_HXX */

0 comments on commit 2874fda

Please sign in to comment.