diff options
author | Michele Papalini <micpapal@cisco.com> | 2023-02-10 10:05:33 +0100 |
---|---|---|
committer | Michele Papalini <micpapal@cisco.com> | 2023-02-10 09:39:35 +0000 |
commit | 1c5c85e5f897553d70a07e1ae3104b876c760133 (patch) | |
tree | 778ee66fae368ff18b33ceeaeb45caa5b26dc67d | |
parent | b8eb25e358d79f9ac116f3bb8187158ceb2305cf (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
(cherry picked from commit 6dc2b3d4ef61eb1d4dd43aa0b50125a5f71802ed)
-rw-r--r-- | hicn-plugin/libvapi-safe/src/vapi_safe.cc | 2 |
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 } |