From 205f6587600f91ea0710785cf87a2a71a3dac5ab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Nov 2022 06:34:37 -0500 Subject: Fix include guards --- include/chilbert/chilbert.hpp | 6 +++--- include/chilbert/chilbert.ipp | 5 ----- 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 // 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 @@ -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 // 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") -- cgit v1.2.1