From 86ac11a23c5c1c50b3d8daf1932103476674c72c Mon Sep 17 00:00:00 2001 From: Marcin Siodelski Date: Thu, 14 Feb 2013 14:35:08 +0100 Subject: [PATCH] [2701] Added missing const to the function returning DUID. --- src/lib/dhcp/duid.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/dhcp/duid.cc b/src/lib/dhcp/duid.cc index 3b81453e91..e0df45dc83 100644 --- a/src/lib/dhcp/duid.cc +++ b/src/lib/dhcp/duid.cc @@ -41,7 +41,7 @@ DUID::DUID(const uint8_t* data, size_t len) { duid_ = std::vector(data, data + len); } -const std::vector DUID::getDuid() const { +std::vector DUID::getDuid() const { return (duid_); }