aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-02-10 10:05:33 +0100
committerMichele Papalini <micpapal@cisco.com>2023-02-10 10:05:33 +0100
commit6dc2b3d4ef61eb1d4dd43aa0b50125a5f71802ed (patch)
treeebc10e04bc0ce0d3651ae8edb5de199fd3f8993c /hicn-plugin
parent49776ceac54eecadabca6c0e2fdc0b9ee2e8e663 (diff)
fix(vpp-plugin): fix catching polymorphic type by value warning
Ref: HICN-843 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I93e7009d3f5d2f141e09c67dfb82d38d2ce4ef08
Diffstat (limited to 'hicn-plugin')
-rw-r--r--hicn-plugin/libvapi-safe/src/vapi_safe.cc2
1 files changed, 1 insertions, 1 deletions
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
}