fix: modernize-use-equals-default warnings (#44944)
fix: use '= default' to define a trivial destructor [modernize-use-equals-default] 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
7f6594654c
commit
a7066af0f9
14 changed files with 64 additions and 64 deletions
|
@ -12,7 +12,7 @@
|
|||
// SkColor is a typedef for uint32_t, this wrapper is to tag an SkColor for
|
||||
// ease of use in gin converters.
|
||||
struct WrappedSkColor {
|
||||
WrappedSkColor() {}
|
||||
WrappedSkColor() = default;
|
||||
WrappedSkColor(SkColor c) : value(c) {} // NOLINT(runtime/explicit)
|
||||
SkColor value;
|
||||
operator SkColor() const { return value; }
|
||||
|
|
|
@ -50,7 +50,7 @@ class EventEmitter : public gin_helper::Wrappable<T> {
|
|||
EventEmitter& operator=(const EventEmitter&) = delete;
|
||||
|
||||
protected:
|
||||
EventEmitter() {}
|
||||
EventEmitter() = default;
|
||||
|
||||
private:
|
||||
// this.emit(name, event, args...);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue