aboutsummaryrefslogtreecommitdiffstats
path: root/Hilbert
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-08-05 00:24:15 +0200
committerDavid Robillard <d@drobilla.net>2018-08-07 20:01:15 +0200
commit3ffee1b1b9a691849ff3eda6d4bb41c1e721b712 (patch)
treedec25787b7969eb573feeaf3b5e4cc70f99f00e7 /Hilbert
parentc5ad5673a76ba969edadfb3d5cfd5a2516b6fdcd (diff)
downloadchilbert-3ffee1b1b9a691849ff3eda6d4bb41c1e721b712.tar.gz
chilbert-3ffee1b1b9a691849ff3eda6d4bb41c1e721b712.tar.bz2
chilbert-3ffee1b1b9a691849ff3eda6d4bb41c1e721b712.zip
Remove dynamic bit vector type enum
Diffstat (limited to 'Hilbert')
-rw-r--r--Hilbert/BigBitVec.hpp7
-rw-r--r--Hilbert/FixBitVec.hpp13
2 files changed, 0 insertions, 20 deletions
diff --git a/Hilbert/BigBitVec.hpp b/Hilbert/BigBitVec.hpp
index 9d83610..c90e206 100644
--- a/Hilbert/BigBitVec.hpp
+++ b/Hilbert/BigBitVec.hpp
@@ -34,13 +34,6 @@ class CBigBitVec
{
public:
- static EBitVecType
- type()
- {
- return eBig;
- }
-
-
// Constructor, with optional number of bits.
CBigBitVec(
int iBits = FBV_BITS
diff --git a/Hilbert/FixBitVec.hpp b/Hilbert/FixBitVec.hpp
index 0117c89..7955e0b 100644
--- a/Hilbert/FixBitVec.hpp
+++ b/Hilbert/FixBitVec.hpp
@@ -37,23 +37,10 @@ typedef uint64_t FBV_UINT;
#define FBVN1S(n) (n==FBV_BITS?FBV1S:(FBV1<<n)-1)
#define FBVMOD(i,m) if((i)>=(m))(i)-=(m)*((i)/(m));
-enum EBitVecType
-{
- eFix,
- eBig
-};
-
-
class CFixBitVec
{
public:
- static EBitVecType
- type()
- {
- return eFix;
- }
-
// Default constructor. The bits parameter
// is completely ignored, but accepted in order
// to look and feel the same as a BigBitVec.