aboutsummaryrefslogtreecommitdiffstats
path: root/src/asn1/asn1_oid.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/asn1/asn1_oid.h')
-rw-r--r--src/asn1/asn1_oid.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asn1/asn1_oid.h b/src/asn1/asn1_oid.h
index 78594265d..a0b1edeba 100644
--- a/src/asn1/asn1_oid.h
+++ b/src/asn1/asn1_oid.h
@@ -33,7 +33,7 @@ class BOTAN_DLL OID : public ASN1_Object
* Get this OID as list (vector) of its components.
* @return vector representing this OID
*/
- std::vector<u32bit> get_id() const { return id; }
+ const std::vector<u32bit>& get_id() const { return id; }
/**
* Get this OID as a string