BUGFIX: variable has incomplete type 'OIC::Service::RCSResourceObject::WeakGuard'
authorGregg Reynolds <reynolds-gregg@norc.org>
Tue, 7 Jun 2016 12:33:31 +0000 (07:33 -0500)
committerUze Choi <uzchoi@samsung.com>
Wed, 15 Jun 2016 09:45:58 +0000 (09:45 +0000)
commitee3e97957254e5e06da63e22f413f917601d8057
treecb629230911d9a636a6e5da596c1d90a1c1e6d28
parent1d673a9e235fb754a0876b55025af7cbff5fec0a
BUGFIX: variable has incomplete type 'OIC::Service::RCSResourceObject::WeakGuard'

Embedding the definition of WeakGuard syntactically eliminates
the error we get if its definition is a sibling.

Change-Id: Ia020ca5fda0f604d4c60ebfde895b3ecbd244a4c
Signed-off-by: Gregg Reynolds <reynolds-gregg@norc.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8529
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Tested-by: Uze Choi <uzchoi@samsung.com>
service/resource-encapsulation/include/RCSResourceObject.h
service/resource-encapsulation/src/serverBuilder/src/RCSResourceObject.cpp