From aa923267195eafd10bb6c3b9c0cd3ffe0264182b Mon Sep 17 00:00:00 2001 From: lguohan Date: Fri, 29 Mar 2019 06:24:11 -0700 Subject: [PATCH] fix c++ 11 build complaint for destructors default to noexcept (#822) --- orchagent/vnetorch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchagent/vnetorch.h b/orchagent/vnetorch.h index 20a23f0bcd6d..4ee4e64f35ff 100644 --- a/orchagent/vnetorch.h +++ b/orchagent/vnetorch.h @@ -96,7 +96,7 @@ class VNetObject return vni_; } - virtual ~VNetObject() {}; + virtual ~VNetObject() noexcept(false) {}; private: set peer_list_ = {};