Remove virtual from a member function that's not overridden.
authorRui Ueyama <ruiu@google.com>
Tue, 4 Nov 2014 02:40:55 +0000 (02:40 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 4 Nov 2014 02:40:55 +0000 (02:40 +0000)
llvm-svn: 221230

lld/include/lld/Core/DefinedAtom.h

index ac16aa1..65c0481 100644 (file)
@@ -318,7 +318,7 @@ public:
   static ContentPermissions permissions(ContentType type);
 
   /// Utility function to check if the atom occupies file space
-  virtual bool occupiesDiskSpace() const {
+  bool occupiesDiskSpace() const {
     ContentType atomContentType = contentType();
     return !(atomContentType == DefinedAtom::typeZeroFill ||
              atomContentType == DefinedAtom::typeZeroFillFast ||