Effectively revert ba2aa5f49ebb since the object isn't destroyed polymorphically
GitOrigin-RevId: c3120291f43b9ad0e09d4bc574c004f13822edd5
diff --git a/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h b/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
index 60f117c..48d7ae4 100644
--- a/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
+++ b/include/llvm/ProfileData/SampleProfileLoaderBaseImpl.h
@@ -69,7 +69,6 @@
class SampleProfileLoaderBaseImpl {
public:
SampleProfileLoaderBaseImpl(std::string Name) : Filename(Name) {}
- virtual ~SampleProfileLoaderBaseImpl() = default;
void dump() { Reader->dump(); }
protected: