Skip to content

Commit

Permalink
Refactor empty constructor to default
Browse files Browse the repository at this point in the history
Signed-off-by: Leonard Ossa <[email protected]>
  • Loading branch information
Leonard Ossa committed Jul 10, 2024
1 parent 5329d67 commit a00a4c6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions openvpn/addr/addrspacesplit.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ class AddressSpaceSplitter : public RouteList
public:
OPENVPN_EXCEPTION(address_space_splitter);

AddressSpaceSplitter()
{
}
AddressSpaceSplitter() = default;

// NOTE: when passing AddressSpaceSplitter to this constructor, make sure
// to static_cast it to RouteList& so as to avoid matching the
Expand Down

0 comments on commit a00a4c6

Please sign in to comment.