diff options
author | Pavel Macenauer <pavel.macenauer@linaro.org> | 2020-05-26 10:54:22 +0000 |
---|---|---|
committer | Derek Lamberti <derek.lamberti@arm.com> | 2020-05-27 12:19:00 +0000 |
commit | 855a47b1b0a78c839a674cc1e61d0668b8c4e349 (patch) | |
tree | 946e6e78ad98fd84fc9e43aabf508debb321b43d /tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | |
parent | 12239e7291fb04b862e44045be0a4feb7751af62 (diff) | |
download | armnn-855a47b1b0a78c839a674cc1e61d0668b8c4e349.tar.gz |
Catch exceptions by const reference
Change-Id: I4b4d8ae419dfb8470e8937e75cd3bab85f03b935
Signed-off-by: Pavel Macenauer <pavel.macenauer@nxp.com>
Diffstat (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp')
-rw-r--r-- | tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index ec0eaf90f8..ff28eb4f3b 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -519,7 +519,7 @@ int MainImpl(const ExecuteNetworkParams& params, } } } - catch (armnn::Exception const& e) + catch (const armnn::Exception& e) { ARMNN_LOG(fatal) << "Armnn Error: " << e.what(); return EXIT_FAILURE; |