diff --git a/tools/aapt2/LoadedApk.h b/tools/aapt2/LoadedApk.h index 6d2257f2e17a0..81bcecc3ca5d6 100644 --- a/tools/aapt2/LoadedApk.h +++ b/tools/aapt2/LoadedApk.h @@ -42,6 +42,8 @@ enum ApkFormat { // Info about an APK loaded in memory. class LoadedApk { public: + virtual ~LoadedApk() = default; + // Loads both binary and proto APKs from disk. static std::unique_ptr LoadApkFromPath(const ::android::StringPiece& path, IDiagnostics* diag);