aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2023-02-10 09:39:05 +0000
committerGerrit Code Review <gerrit@fd.io>2023-02-10 09:39:05 +0000
commitdf902fa5ea07a0de312b1b6dd138e360611e5769 (patch)
treece9a94c30443208fd40497644336770f96a43395
parentd17dd026a08f254648757660a4e74ed973b5e90b (diff)
parent6dc2b3d4ef61eb1d4dd43aa0b50125a5f71802ed (diff)
Merge "fix(vpp-plugin): fix catching polymorphic type by value warning Ref: HICN-843"
-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
}