diff options
author | David Robillard <d@drobilla.net> | 2022-11-07 06:34:37 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-11-07 06:56:07 -0500 |
commit | 205f6587600f91ea0710785cf87a2a71a3dac5ab (patch) | |
tree | 2d78feb9b384a9c397eeafa8d887b36b44bcd942 | |
parent | 036c4c1634b2e056da722b21302608ccfe05a298 (diff) | |
download | chilbert-205f6587600f91ea0710785cf87a2a71a3dac5ab.tar.gz chilbert-205f6587600f91ea0710785cf87a2a71a3dac5ab.tar.bz2 chilbert-205f6587600f91ea0710785cf87a2a71a3dac5ab.zip |
Fix include guards
-rw-r--r-- | include/chilbert/chilbert.hpp | 6 | ||||
-rw-r--r-- | include/chilbert/chilbert.ipp | 5 | ||||
-rw-r--r-- | test/test_hilbert.cpp | 2 |
3 files changed, 4 insertions, 9 deletions
diff --git a/include/chilbert/chilbert.hpp b/include/chilbert/chilbert.hpp index 9540014..6becbc1 100644 --- a/include/chilbert/chilbert.hpp +++ b/include/chilbert/chilbert.hpp @@ -2,8 +2,8 @@ // Copyright 2006-2007 Chris Hamilton <chamilton@cs.dal.ca> // SPDX-License-Identifier: GPL-2.0-or-later -#ifndef CHILBERT_HILBERT_HPP -#define CHILBERT_HILBERT_HPP +#ifndef CHILBERT_CHILBERT_HPP +#define CHILBERT_CHILBERT_HPP #include <cstddef> @@ -83,4 +83,4 @@ compact_index_to_coords(P& p, #include "chilbert/chilbert.ipp" // IWYU pragma: export -#endif +#endif // CHILBERT_CHILBERT_HPP diff --git a/include/chilbert/chilbert.ipp b/include/chilbert/chilbert.ipp index 3158c66..e53270f 100644 --- a/include/chilbert/chilbert.ipp +++ b/include/chilbert/chilbert.ipp @@ -2,9 +2,6 @@ // Copyright 2006-2007 Chris Hamilton <chamilton@cs.dal.ca> // SPDX-License-Identifier: GPL-2.0-or-later -#ifndef CHILBERT_CHILBERT_HPP -#define CHILBERT_CHILBERT_HPP - #include "chilbert/BoundedBitVec.hpp" #include "chilbert/DynamicBitVec.hpp" #include "chilbert/SmallBitVec.hpp" @@ -481,5 +478,3 @@ compact_index_to_coords(P& p, } } // namespace chilbert - -#endif diff --git a/test/test_hilbert.cpp b/test/test_hilbert.cpp index d2db1e1..53177ec 100644 --- a/test/test_hilbert.cpp +++ b/test/test_hilbert.cpp @@ -9,7 +9,7 @@ #include "chilbert/DynamicBitVec.hpp" #include "chilbert/SmallBitVec.hpp" #include "chilbert/StaticBitVec.hpp" -#include "chilbert/chilbert.ipp" +#include "chilbert/chilbert.hpp" #if defined(__clang__) _Pragma("clang diagnostic push") |