Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / service / resource-container / src / JavaBundleResource.h
index 0dc750b..c0c687c 100644 (file)
@@ -47,9 +47,9 @@ namespace OIC
 
             RCSResourceAttributes::Value handleGetAttributeRequest(const std::string& key);
 
-            virtual void handleSetAttributesRequest(RCSResourceAttributes &attrs);
+            virtual void handleSetAttributesRequest(const RCSResourceAttributes &attrs);
 
-            virtual RCSResourceAttributes& handleGetAttributesRequest();
+            virtual RCSResourceAttributes handleGetAttributesRequest();
 
             virtual void initAttributes();
         private: