From 8b62aff1ce32afd5961107bb42b53750aa4bab41 Mon Sep 17 00:00:00 2001 From: Erich Keane Date: Tue, 24 Mar 2015 12:36:01 -0700 Subject: [PATCH] Implemented OCRepresentation::setChildren As reported in IOT 410, setChildren had a header entry, and no implementation. This patch implements setChildren Change-Id: I0f881dab27c09d72fd068c0b2d446bbfcc77a42b Signed-off-by: Erich Keane Reviewed-on: https://gerrit.iotivity.org/gerrit/561 Reviewed-by: Tim Kourt Reviewed-by: Joseph Morrow Tested-by: jenkins-iotivity Reviewed-by: Sudarshan Prasad --- resource/src/OCRepresentation.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resource/src/OCRepresentation.cpp b/resource/src/OCRepresentation.cpp index d7950af..5fc23ff 100644 --- a/resource/src/OCRepresentation.cpp +++ b/resource/src/OCRepresentation.cpp @@ -198,6 +198,11 @@ namespace OC return m_children; } + void OCRepresentation::setChildren(const std::vector& children) + { + m_children = children; + } + void OCRepresentation::setUri(const std::string& uri) { m_uri = uri; -- 2.7.4