Sfoglia il codice sorgente

nvflinger: Polymorphic destructor requried for abstract class IBinder

Merry 4 anni fa
parent
commit
30b23fb7b8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/core/hle/service/nvflinger/binder.h

+ 1 - 0
src/core/hle/service/nvflinger/binder.h

@@ -34,6 +34,7 @@ enum class TransactionId {
 
 class IBinder {
 public:
+    virtual ~IBinder() = default;
     virtual void Transact(Kernel::HLERequestContext& ctx, android::TransactionId code,
                           u32 flags) = 0;
     virtual Kernel::KReadableEvent& GetNativeHandle() = 0;