refactor: declare gin::Wrapper subclasses as final (#43783)
refactor: declare gin::Wrapper subclasses as final (#43527) As per the gin docs: "Wrappable<T> explicitly does not support further subclassing of T. Subclasses of Wrappable<T> should be declared final."
This commit is contained in:
parent
ea3c48e7c1
commit
e62c322b2d
35 changed files with 106 additions and 103 deletions
|
@ -18,9 +18,9 @@
|
|||
|
||||
namespace electron::api {
|
||||
|
||||
class InAppPurchase : public gin::Wrappable<InAppPurchase>,
|
||||
public gin_helper::EventEmitterMixin<InAppPurchase>,
|
||||
public in_app_purchase::TransactionObserver {
|
||||
class InAppPurchase final : public gin::Wrappable<InAppPurchase>,
|
||||
public gin_helper::EventEmitterMixin<InAppPurchase>,
|
||||
public in_app_purchase::TransactionObserver {
|
||||
public:
|
||||
static gin::Handle<InAppPurchase> Create(v8::Isolate* isolate);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue