diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-12 18:34:32 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-12 18:34:32 +0000 |
commit | 1c2c416b953309279c43c86a46b5690642ff95dd (patch) | |
tree | 3cee55cb762199ca28aeceaa589431c064459748 /src/util/bitvector.h | |
parent | 0ba075e240b2083163ab35a3580547cae6927b6c (diff) |
* Fix language bindings: various issues
** remove a number of warnings in bindings generation
** give appropriate names for operator-overloading
** make sure Java language bindings are built with -fno-strict-aliasing, to ensure the optimizer doesn't produce bad code
* Also remove BitVector::equals(), which wasn't used and was inconsistently implemented (operator==() is still there).
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/util/bitvector.h')
-rw-r--r-- | src/util/bitvector.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/bitvector.h b/src/util/bitvector.h index 9438113cf..bb0099157 100644 --- a/src/util/bitvector.h +++ b/src/util/bitvector.h @@ -97,11 +97,6 @@ public: return d_value != y.d_value; } - BitVector equals(const BitVector& y) const { - CheckArgument(d_size == y.d_size, y); - return d_value == y.d_value; - } - BitVector concat (const BitVector& other) const { return BitVector(d_size + other.d_size, (d_value.multiplyByPow2(other.d_size)) + other.d_value); } |