commit | 5d0b0106dfc7675f9048976d4dd4ea00e46e6c39 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sat Oct 07 13:43:16 2017 -0400 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Oct 15 13:39:35 2017 -0400 |
tree | 9c52a4a16fc392079611c2a0cf9fc3d0b0ac47cb | |
parent | 5759be36addc8bb501533a9f9540bd3c68c27c2f [diff] [blame] |
encoding: remove duplicate buf() and get() methods from Buffer class Change-Id: If885d4199d6c9df9b9b46664c3641c9a14a77eab
diff --git a/src/name-component.cpp b/src/name-component.cpp index 1cdd8f9..5cf31aa 100644 --- a/src/name-component.cpp +++ b/src/name-component.cpp
@@ -69,7 +69,7 @@ } Component::Component(const Buffer& value) - : Block(makeBinaryBlock(tlv::NameComponent, value.buf(), value.size())) + : Block(makeBinaryBlock(tlv::NameComponent, value.data(), value.size())) { }