diff options
author | David Robillard <d@drobilla.net> | 2018-08-05 12:32:40 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-08-07 20:01:25 +0200 |
commit | 29813ada1005d3344320da48006ea5419181f7e0 (patch) | |
tree | a1b2998e1fa0861b2e8b4a80526aa62a4bdb3ac9 /chilbert | |
parent | 46e5aed0bf2645fb640b08c148b518590c95253a (diff) | |
download | chilbert-29813ada1005d3344320da48006ea5419181f7e0.tar.gz chilbert-29813ada1005d3344320da48006ea5419181f7e0.tar.bz2 chilbert-29813ada1005d3344320da48006ea5419181f7e0.zip |
Clean up includes
Diffstat (limited to 'chilbert')
-rw-r--r-- | chilbert/Algorithm.hpp | 10 | ||||
-rw-r--r-- | chilbert/BigBitVec.hpp | 1 | ||||
-rw-r--r-- | chilbert/FixBitVec.hpp | 2 | ||||
-rw-r--r-- | chilbert/GrayCodeRank.hpp | 2 | ||||
-rw-r--r-- | chilbert/Hilbert.hpp | 4 |
5 files changed, 12 insertions, 7 deletions
diff --git a/chilbert/Algorithm.hpp b/chilbert/Algorithm.hpp index f25359a..0200456 100644 --- a/chilbert/Algorithm.hpp +++ b/chilbert/Algorithm.hpp @@ -20,13 +20,15 @@ #define CHILBERT_ALGORITHM_HPP +#include "chilbert/FixBitVec.hpp" #include "chilbert/BigBitVec.hpp" -#include "chilbert/GetLocation.hpp" -#include "chilbert/SetLocation.hpp" #include "chilbert/GetBits.hpp" -#include "chilbert/SetBits.hpp" +#include "chilbert/GetLocation.hpp" #include "chilbert/GrayCodeRank.hpp" -#include <string.h> +#include "chilbert/SetBits.hpp" +#include "chilbert/SetLocation.hpp" + +#include <cassert> // Templated Hilbert functions. diff --git a/chilbert/BigBitVec.hpp b/chilbert/BigBitVec.hpp index 7f812b6..df50d6e 100644 --- a/chilbert/BigBitVec.hpp +++ b/chilbert/BigBitVec.hpp @@ -22,6 +22,7 @@ #include "chilbert/FixBitVec.hpp" +#include <cassert> #include <cstring> #define BBV_MIN(a,b) ((a)<(b)?(a):(b)) diff --git a/chilbert/FixBitVec.hpp b/chilbert/FixBitVec.hpp index 0a89803..3cdd6ff 100644 --- a/chilbert/FixBitVec.hpp +++ b/chilbert/FixBitVec.hpp @@ -21,8 +21,8 @@ #include "chilbert/Operations.hpp" -#include <inttypes.h> #include <cassert> +#include <cstdint> namespace chilbert { diff --git a/chilbert/GrayCodeRank.hpp b/chilbert/GrayCodeRank.hpp index 494caf6..8e98592 100644 --- a/chilbert/GrayCodeRank.hpp +++ b/chilbert/GrayCodeRank.hpp @@ -20,8 +20,10 @@ #define CHILBERT_GRAYCODERANK_HPP +#include "chilbert/FixBitVec.hpp" #include "chilbert/BigBitVec.hpp" +#include <cassert> namespace chilbert { diff --git a/chilbert/Hilbert.hpp b/chilbert/Hilbert.hpp index a4837dd..c3ecac7 100644 --- a/chilbert/Hilbert.hpp +++ b/chilbert/Hilbert.hpp @@ -20,9 +20,9 @@ #define CHILBERT_HILBERT_HPP -#include "chilbert/FixBitVec.hpp" -#include "chilbert/BigBitVec.hpp" #include "chilbert/Algorithm.hpp" +#include "chilbert/BigBitVec.hpp" +#include "chilbert/FixBitVec.hpp" // Description of parameters: // |