resource: prevents copy elision 17/8517/13
authorGregg Reynolds <reynolds-gregg@norc.org>
Tue, 7 Jun 2016 06:13:38 +0000 (01:13 -0500)
committerMats Wichmann <mats@linux.com>
Sat, 21 Apr 2018 18:46:00 +0000 (18:46 +0000)
commita51151940b7f63a2830f21d83b410673f0158410
tree96f280c619b046e7eb7a0bc6ab4c08ffddad5988
parent48388f035fbf4d7da1b32d75e6cdac93e3631a56
resource: prevents copy elision

eliminate warning: moving a local object in a return statement prevents copy elision

Change-Id: I8a2bc85fb2d8f6e31d04e067a4476970d7d657c6
Signed-off-by: Gregg Reynolds <reynolds-gregg@norc.org>
resource/src/OCRepresentation.cpp