Skip to content

Commit

Permalink
fix c++ 11 build complaint for destructors default to noexcept (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
lguohan authored Mar 29, 2019
1 parent a304007 commit aa92326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orchagent/vnetorch.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class VNetObject
return vni_;
}

virtual ~VNetObject() {};
virtual ~VNetObject() noexcept(false) {};

private:
set<string> peer_list_ = {};
Expand Down

0 comments on commit aa92326

Please sign in to comment.