Skip to content

Commit aa92326

Browse files
authored
fix c++ 11 build complaint for destructors default to noexcept (#822)
1 parent a304007 commit aa92326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orchagent/vnetorch.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class VNetObject
9696
return vni_;
9797
}
9898

99-
virtual ~VNetObject() {};
99+
virtual ~VNetObject() noexcept(false) {};
100100

101101
private:
102102
set<string> peer_list_ = {};

0 commit comments

Comments
 (0)