aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/base/symkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/base/symkey.h')
-rw-r--r--src/lib/base/symkey.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/base/symkey.h b/src/lib/base/symkey.h
index c837e8ca5..23b7d030b 100644
--- a/src/lib/base/symkey.h
+++ b/src/lib/base/symkey.h
@@ -33,7 +33,7 @@ class BOTAN_DLL OctetString
/**
* @return start of this string
*/
- const byte* begin() const { return &bits[0]; }
+ const byte* begin() const { return bits.data(); }
/**
* @return end of this string