aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SendCounterPacket.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-11-05 11:47:40 +0000
committerJim Flynn Arm <jim.flynn@arm.com>2019-11-05 14:27:39 +0000
commit2ffcc4179648bbd6fb08342969391a2bcd027221 (patch)
treef5d06780073bf8354a6b0195dca9961dc1f03ed5 /src/profiling/SendCounterPacket.hpp
parentb67f95796b03c1a5d3b3fa6a40f6baf85bdd09cb (diff)
downloadarmnn-2ffcc4179648bbd6fb08342969391a2bcd027221.tar.gz
IVGCVSW-4065 Refactor the IPacketBuffer smart pointers
* Added convenience "using" statement for the unique pointers to IPacketBuffer * Replaced all the occurrencies in the code Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: Iffec3a425ffbc1ecb23012971563a48139eb32eb
Diffstat (limited to 'src/profiling/SendCounterPacket.hpp')
-rw-r--r--src/profiling/SendCounterPacket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/SendCounterPacket.hpp b/src/profiling/SendCounterPacket.hpp
index 2aaabc8397..102cbccc84 100644
--- a/src/profiling/SendCounterPacket.hpp
+++ b/src/profiling/SendCounterPacket.hpp
@@ -83,7 +83,7 @@ private:
}
template <typename ExceptionType>
- void CancelOperationAndThrow(std::unique_ptr<IPacketBuffer>& writerBuffer, const std::string& errorMessage)
+ void CancelOperationAndThrow(IPacketBufferPtr& writerBuffer, const std::string& errorMessage)
{
if (std::is_same<ExceptionType, armnn::profiling::BufferExhaustion>::value)
{