Adding OCRep destructor, various move activities
authorErich Keane <erich.keane@intel.com>
Wed, 4 Feb 2015 20:08:26 +0000 (12:08 -0800)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Sat, 21 Feb 2015 00:12:05 +0000 (00:12 +0000)
commitbd73eabaf1e12341df668a9e5fce7e1cef67245a
tree8667133c276acc719fe1079082e03a1444944330
parent0613e2a85fbbf7b858c132167f8ff5b2910d9b02
Adding OCRep destructor, various move activities

Apparently OCRepresentation's destructor was causing issues
in the JNI version.  Seemingly adding a virtual destructor to
the OCRepresentation is enough to cause this to go away.

Also adding move construction/assignment to our more expensive
types.

Change-Id: Icb3b6f25e268384b51126e18ec55fc5099c9b2f9
Signed-off-by: Erich Keane <erich.keane@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/305
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
(cherry picked from commit b7a33ba1905fcef02c21532a944ddc0958a121af)
Reviewed-on: https://gerrit.iotivity.org/gerrit/385
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
resource/include/OCHeaderOption.h
resource/include/OCRepresentation.h
resource/include/OCResource.h
resource/include/OCResourceRequest.h
resource/include/OCResourceResponse.h
resource/src/OCRepresentation.cpp