Remove empty non-virtual destructors or mark them =default when non-public
[oota-llvm.git] / include / llvm / DebugInfo / DWARF / DWARFUnit.h
index 29fa4a37fd3bbda86a22138ac69d198d9f92ec03..2b377a9ad2fb73d7191e6287b35886eaa9bb7d25 100644 (file)
@@ -46,7 +46,7 @@ protected:
                          const DWARFDebugAbbrev *DA, StringRef RS, StringRef SS,
                          StringRef SOS, StringRef AOS, bool isLittleEndian) = 0;
 
-  ~DWARFUnitSectionBase() {}
+  ~DWARFUnitSectionBase() = default;
 };
 
 /// Concrete instance of DWARFUnitSection, specialized for one Unit type.