aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-09-15 16:41:58 +0000
committerlloyd <[email protected]>2008-09-15 16:41:58 +0000
commitb6ccda1e41bf86247b21436f7e490a2395bfc65c (patch)
treed37d5b6974b8ff43c8468bf2b8e13a913e6e2e34 /include
parent579f63616a92c0d97eb868d6f5b94e68be74b185 (diff)
Update BigInt::grow_reg and grow_to to be non-const
Diffstat (limited to 'include')
-rw-r--r--include/bigint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bigint.h b/include/bigint.h
index f67ba5740..2231ba99c 100644
--- a/include/bigint.h
+++ b/include/bigint.h
@@ -86,8 +86,8 @@ class BOTAN_DLL BigInt
const word* data() const { return get_reg().begin(); }
SecureVector<word>& get_reg() { return rep.get_reg(); }
const SecureVector<word>& get_reg() const { return rep.get_reg(); }
- void grow_reg(u32bit) const;
- void grow_to(u32bit) const;
+ void grow_reg(u32bit);
+ void grow_to(u32bit);
word& operator[](u32bit i) { return rep[i]; }
word operator[](u32bit i) const { return rep[i]; }