1. Modified the Accepted Providers Consumers list to return references
[platform/upstream/iotivity.git] / service / notification / cpp-wrapper / consumer / inc / NSConsumerService.h
index 36e2781..0b1c197 100755 (executable)
@@ -129,7 +129,7 @@ namespace OIC
                       *  get list of providers acceted.\r
                       * @return m_acceptedProviders -list of accepted providers\r
                       */\r
-                std::list<NSProvider *> getAcceptedProviders();\r
+                std::list<NSProvider *> &getAcceptedProviders();\r
 \r
             private :\r
                 ConsumerConfig m_config;\r