Adding OCRep destructor, various move activities
authorErich Keane <erich.keane@intel.com>
Wed, 4 Feb 2015 20:08:26 +0000 (12:08 -0800)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Fri, 6 Feb 2015 20:40:48 +0000 (20:40 +0000)
commitb7a33ba1905fcef02c21532a944ddc0958a121af
tree2568b2409cd6675e73d2e9bc76064112fd94b118
parentd37ac7328d1f6bf0fc8da65aac9af8b0edcdd904
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>
resource/include/OCHeaderOption.h
resource/include/OCRepresentation.h
resource/include/OCResource.h
resource/include/OCResourceRequest.h
resource/include/OCResourceResponse.h
resource/src/OCRepresentation.cpp