refactor: use = default
to define trivial destructors (#46191)
refactor: use '= default' to define trivial destructors Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
a1d8676e9c
commit
69b80e02e7
4 changed files with 5 additions and 11 deletions
|
@ -20,7 +20,7 @@ namespace electron {
|
|||
// Defines the interface for WebRequest API, implemented by api::WebRequestNS.
|
||||
class WebRequestAPI {
|
||||
public:
|
||||
virtual ~WebRequestAPI() {}
|
||||
virtual ~WebRequestAPI() = default;
|
||||
|
||||
using BeforeSendHeadersCallback =
|
||||
base::OnceCallback<void(const std::set<std::string>& removed_headers,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue