From 6dc2b3d4ef61eb1d4dd43aa0b50125a5f71802ed Mon Sep 17 00:00:00 2001 From: Michele Papalini Date: Fri, 10 Feb 2023 10:05:33 +0100 Subject: fix(vpp-plugin): fix catching polymorphic type by value warning Ref: HICN-843 Signed-off-by: Michele Papalini Change-Id: I93e7009d3f5d2f141e09c67dfb82d38d2ce4ef08 --- hicn-plugin/libvapi-safe/src/vapi_safe.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hicn-plugin/libvapi-safe/src/vapi_safe.cc b/hicn-plugin/libvapi-safe/src/vapi_safe.cc index dc2db329e..723a0fa64 100644 --- a/hicn-plugin/libvapi-safe/src/vapi_safe.cc +++ b/hicn-plugin/libvapi-safe/src/vapi_safe.cc @@ -323,7 +323,7 @@ public: { timer_.cancel (); } - catch (asio::system_error e) + catch (asio::system_error &e) { // quit anyway } -- cgit 1.2.3-korg